Skip to content
Snippets Groups Projects
Commit 6e2a948a authored by deuce's avatar deuce
Browse files

Fix error in last commit.

parent a85a4c35
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ function utf8_ascii(uni) ...@@ -17,7 +17,7 @@ function utf8_ascii(uni)
uc |= ch.charCodeAt(i) & 0x3f; uc |= ch.charCodeAt(i) & 0x3f;
} }
nch = unicode_ascii(uc); nch = unicode_cp437(uc);
if (nch.charCodeAt(0) > 0x7f) if (nch.charCodeAt(0) > 0x7f)
nch = '?'; nch = '?';
return nch; return nch;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment