On Jun 10, 5:58 am, Akzhan Abdulin <
akzhan.abdu...@gmail.com> wrote:
> You can do this after stringification using string
>
> json_string.replace(/\\u\d\d\d\d/g, function(a)
> {
> // here convert sequence to correspond character.
>
> });
>
>
>
>
> > Hi!
>
> > I need to get raw UTF-8 data out of JSON.stringify, without the \uXXXX
> > escaped sequences. How do I do that?
>
> > var sys = require('sys');
> > var struct = ['вася'];
> > var json_string = JSON.stringify(struct);
> > sys.debug(json_string);
>
> > It returns "DEBUG: ["\u0432\u0430\u0441\u044f"]" and I want "DEBUG:
> > ["вася"]".
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nodejs" group.
> > To post to this group, send email to
nod...@googlegroups.com.
> > To unsubscribe from this group, send email to