Den 19. maj 2010 09.08 skrev Bob <[email protected]>:

> print function works well on English characters, such as:
> > print("abc123");
> abc123
>
> but when I try to using multi-byte characters, it has some problem,
> such as:
>
> V8 version 2.2.8
> > print("中文");
> 锟斤拷锟斤拷
> >
>
> any clue about it?
>

It's a well known problem.

The standalone shell is just for testing and as a small demo of the API.  It
isn't intended to be useful for any real work.  You might want to look at
node.js if you want to do real programming with V8.

-- 
Erik Corry

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to