Convert '^' to delta correctly.

This commit is contained in:
Kathy Ruffing 2013-08-29 14:18:37 +00:00
parent 518e3182b2
commit 0d7455804b
2 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ namespace DataLoader
public static string ConvertText(string s1, bool DoCaret)
{
string s2 = s1;
if (DoCaret) s2 = s2.Replace("^", @"\u916");
if (DoCaret) s2 = s2.Replace("^", @"\u916?");
return ConvertText(s2);
}
private static void ShowRawString(string str, string title)
@ -185,7 +185,7 @@ namespace DataLoader
s2 = s2.Replace("\xFF", @"\u8593?"); // Up Arrow
s2 = s2.Replace("\xD6", @"\u8595?"); // Down Arrow
if (DoCaret) s2 = s2.Replace("^", @"\u916");
if (DoCaret) s2 = s2.Replace("^", @"\u916?");
//s2 = s2.Replace("^", @"\u916");
//s2 = ConvertDOSSuperAndSubScripts(s2);

View File

@ -244,7 +244,7 @@ namespace VEPROMS.CSLA.Library
s2 = s2.Replace("\xFF", @"\u8593?"); // Up Arrow
s2 = s2.Replace("\xD6", @"\u8595?"); // Down Arrow
if (DoCaret) s2 = s2.Replace("^", @"\u916");
if (DoCaret) s2 = s2.Replace("^", @"\u916?");
// Convert dash to a non-breaking dash. This is a unicode character.
// This character will be used in veproms rather than a dash.
//if the dash is preceeded byte a token remove the space following the token