Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Commented Unassigned: Unicode problem [20420]

$
0
0
Hello,

Ajaxmin throws exceptions when minifying a Unicode value:
$.Constant({Static:true , Public:false}, "HIGH_SURROGATE_START", "\ud800");
Error : Invalid hexadecimal escape sequence: "\ud800

It seems to process as a string instead of Unicode.

Thanks in advance for your help.
Comments: ** Comment from web user: ronlo **

I'm sorry, but that _IS_ an invalid string. You have a high surrogate with no low surrogate -- it is an invalid Unicode sequence. The error is correct. What is it you're trying to do there? I'd love to suggest a better way to you, but I'm not quite sure what your goal is here.


Viewing all articles
Browse latest Browse all 683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>