On 13 Feb., 10:14, "Andreas K." <[EMAIL PROTECTED]> wrote:
> I made a controller method that returnsJSONdata which in turn
> contains HTML code generated by a selfmade widget. A Javascript thingy
> then puts this code into a div by innerHTML...
>
> The problem is: the widget includes via ${object.property} some
> strings. However if these strings contain some special characters like
> "ä" then the finalJSONoutput is \u00c3\u00a4 instead of \uc3\ua4
> what results in "ä" as the final on-screen display.

Downgrading simplejson from 1.7.1 to 1.6 has solved that issue for me.
JSON data was encoded twice.

(Maybe because my widget was returned as bytestring and thus redundantly
converted to UTF-8.)

-- W-Mark Kubacki

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to