107
rated 0 times
[
108]
[
1]
/ answers: 1 / hits: 62752
/ 15 Years ago, thu, may 7, 2009, 12:00:00
I need to convert large UTF-8 strings into ASCII. It should be reversible, and ideally a quick/lightweight algorithm.
How can I do this? I need the source code (using loops) or the JavaScript code. (should not be dependent on any platform/framework/library)
Edit: I understand that the ASCII representation will not look correct and would be larger (in terms of bytes) than its UTF-8 counterpart, since its an encoded form of the UTF-8 original.
More From » utf-8