On Windows XP with Internet Explorer 8, I came across the following
situation. (http://jsfiddle.net/tCKrt/)

var data = {name: 'öäöä'};
Object.toJSON(data);

Every Browser returns "öäöa" except IE8 returns (something like)
"\u080\u898". To fix that Problem I had to modify Object::stringify():

  function stringify(object) {
            var string = JSON.stringify(object);
            return unescape(string.replace(/\\u/g, '%u'));
  }

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to