The logic that handles backslashes in RO return values did not account for the Unicode hard space character.
This commit is contained in:
parent
54334cc233
commit
0f4378913f
@ -226,7 +226,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
private string ReplaceUnicode(string s2, bool DoCaret)
|
private string ReplaceUnicode(string s2, bool DoCaret)
|
||||||
{
|
{
|
||||||
string orig = s2;
|
string orig = s2;
|
||||||
|
s2 = s2.Replace( @"\u160?","<HSP>"); // convert hard spaces bug fix: B2016-206
|
||||||
s2 = s2.Replace(@"\", @"\u9586?"); // convert backslashes to a backslash symbol
|
s2 = s2.Replace(@"\", @"\u9586?"); // convert backslashes to a backslash symbol
|
||||||
|
s2 = s2.Replace("<HSP>", @"\u160?"); // convert hard spaces bug fix: B2016-206
|
||||||
s2 = s2.Replace("`", @"\'b0"); // convert backquote to degree - left over from DOS days.
|
s2 = s2.Replace("`", @"\'b0"); // convert backquote to degree - left over from DOS days.
|
||||||
s2 = s2.Replace("\xf8", @"\'b0"); // convert \xf8 to degree.
|
s2 = s2.Replace("\xf8", @"\'b0"); // convert \xf8 to degree.
|
||||||
s2 = s2.Replace("\xa0", @"\u160?"); // hardspace
|
s2 = s2.Replace("\xa0", @"\u160?"); // hardspace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user