<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'm storing Chinese, Japanese and Korean characters in a UTF8 encoded database. </div><div><br></div><div>I thought that JS and by extension JSON natively deal with Unicode characters. In fact I'm sure it I've never had any problems with JS in this matter. </div><div><br></div><div>It would be nice to have an extension to the JSON serializer like </div><div>no_encode : 1</div><div><br></div><div>I don't understand what the problem with the double wide character check in Lint is all about. When setting</div><div><br></div><div>utf8 : 0</div><div><br></div><div>What's the problem with that?</div><div><br></div><div>-Robert<br><br>Sent from my iPhone</div><div><br>On Sep 27, 2015, at 1:40 PM, Yitzchak Scott-Thoennes <<a href="mailto:sthoenna@gmail.com">sthoenna@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><p dir="ltr"><br>
On Sep 26, 2015 1:05 PM, "Robert Smith" <<a href="mailto:spamfree@wansecurity.com">spamfree@wansecurity.com</a>> wrote:<br>
> I guess that since #686 is still open that there is no work around for those of us who need to use serializer: JSON and have UTF-8 encoded data coming from our database?</p>
<p dir="ltr">Use ascii JSON encoding?</p>
<p dir="ltr">I've never been fond of utf8 JSON; making it ascii is usually only trivially increasing the length but doing away with all transport encoding issues.</p>
<p dir="ltr">I guess it might make a difference if you needed unicode characters not supported in javascript/JSON, though.<br>
</p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>dancer-users mailing list</span><br><span><a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a></span><br><span><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a></span><br></div></blockquote></body></html>