Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matanki-saito committed Sep 23, 2018
1 parent 3c9a1cc commit bc4fd4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ConsoleApplication3/ConsoleApplication3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ errno_t convertWideTextToEscapedWideText(const wchar_t* from, wchar_t** to) {
switch (high) {
case 0xA4:case 0xA3:case 0xA7:case 0x24:case 0x5B:case 0x00:case 0x5C:
case 0x20:case 0x0D:case 0x0A:case 0x22:case 0x7B:case 0x7D:case 0x40:
case 0x80:case 0x7E:case 0x2F:
case 0x80:case 0x7E:case 0x2F:case 0xBD:case 0x3B:case 0x5D:case 0x5F:
case 0x3D:case 0x23:
escapeChr += 2;
break;
default:
Expand All @@ -300,7 +301,8 @@ errno_t convertWideTextToEscapedWideText(const wchar_t* from, wchar_t** to) {
switch (low) {
case 0xA4:case 0xA3:case 0xA7:case 0x24:case 0x5B:case 0x00:case 0x5C:
case 0x20:case 0x0D:case 0x0A:case 0x22:case 0x7B:case 0x7D:case 0x40:
case 0x80:case 0x7E:case 0x2F:
case 0x80:case 0x7E:case 0x2F:case 0xBD:case 0x3B:case 0x5D:case 0x5F:
case 0x3D:case 0x23:
escapeChr++;
break;
default:
Expand Down

0 comments on commit bc4fd4d

Please sign in to comment.