Convert '^' to delta correctly.
This commit is contained in:
parent
518e3182b2
commit
0d7455804b
@ -117,7 +117,7 @@ namespace DataLoader
|
|||||||
public static string ConvertText(string s1, bool DoCaret)
|
public static string ConvertText(string s1, bool DoCaret)
|
||||||
{
|
{
|
||||||
string s2 = s1;
|
string s2 = s1;
|
||||||
if (DoCaret) s2 = s2.Replace("^", @"\u916");
|
if (DoCaret) s2 = s2.Replace("^", @"\u916?");
|
||||||
return ConvertText(s2);
|
return ConvertText(s2);
|
||||||
}
|
}
|
||||||
private static void ShowRawString(string str, string title)
|
private static void ShowRawString(string str, string title)
|
||||||
@ -185,7 +185,7 @@ namespace DataLoader
|
|||||||
s2 = s2.Replace("\xFF", @"\u8593?"); // Up Arrow
|
s2 = s2.Replace("\xFF", @"\u8593?"); // Up Arrow
|
||||||
s2 = s2.Replace("\xD6", @"\u8595?"); // Down 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 = s2.Replace("^", @"\u916");
|
||||||
|
|
||||||
//s2 = ConvertDOSSuperAndSubScripts(s2);
|
//s2 = ConvertDOSSuperAndSubScripts(s2);
|
||||||
|
@ -244,7 +244,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
s2 = s2.Replace("\xFF", @"\u8593?"); // Up Arrow
|
s2 = s2.Replace("\xFF", @"\u8593?"); // Up Arrow
|
||||||
s2 = s2.Replace("\xD6", @"\u8595?"); // Down 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.
|
// Convert dash to a non-breaking dash. This is a unicode character.
|
||||||
// This character will be used in veproms rather than a dash.
|
// 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
|
//if the dash is preceeded byte a token remove the space following the token
|
||||||
|
Loading…
x
Reference in New Issue
Block a user