This commit is contained in:
Kathy Ruffing 2009-07-08 10:50:45 +00:00
parent 64c02e16a6
commit 31d54646f2

View File

@ -160,6 +160,10 @@ namespace DataLoader
s2 = s2.Replace("\x2193", @"\u8595?"); s2 = s2.Replace("\x2193", @"\u8595?");
s2 = s2.Replace("\x2207", @"\u8711?"); s2 = s2.Replace("\x2207", @"\u8711?");
// Convert dash to a non-breaking dash. This is a unicode character.
// This character will be used in veproms rather than a dash.
s2 = s2.Replace("-", @"\u8209?");
return s2; return s2;
} }
public static string ConvertText(string s1) public static string ConvertText(string s1)
@ -198,6 +202,7 @@ namespace DataLoader
// is used in rtf land. // is used in rtf land.
s2 = s2.Replace(@"{", @"\{"); s2 = s2.Replace(@"{", @"\{");
s2 = s2.Replace(@"}", @"\}"); s2 = s2.Replace(@"}", @"\}");
s2 = s2.Replace("\n", @"\par "); // line break in tables
return s2; return s2;
} }
} }