2 ms·
If that works it would be better than guessing. :) Since you are sanitizing the input string, I still recommed translating to native mzScheme/Arc unicode, doin
by euccastro 19y ago
If that works it would be better than guessing. :)
Since you are sanitizing the input string, I still recommed translating to native mzScheme/Arc unicode, doing the transformations in that format, then retranslating back to utf-8 for display. The call to get a canonical string from utf-8 is:
(bytes->string/utf-8 input-txt)
- euccastro 19y agoAnd if I may abuse this thread to add one request, please store the raw string as you got it from the browser, and do the processing before displaying it (unless you determine that would be a security risk or a performance killer). If I use ampersand tags or other formatting to write a comment, they are lost when I edit it. It's kinda irritating to lose the indentation of a code sample (lots of s) when editing out a mistake. :)