Hi,

Could you add more hint?
v8::String::WriteAscii converts '\0' to space (0x20).

http://groups.google.com/group/v8-users/browse_thread/thread/2b3c9fedbe35fd3f

I want a hint to keep `\0`. How about it?

On 7月6日, 午前7:32, Chris Angelico <[email protected]> wrote:
> On Wed, Jul 6, 2011 at 2:53 AM, Henrik Lindqvist
>
> <[email protected]> wrote:
> > HINT_NO_NULL_TERMINATOR as you describe would be the perfect solution,
> > of course it should apply to all the String::Write* methods. The
> > source is located in src/api.cc.
>
> I ended up calling it WRITE_NO_NULL_TERMINATOR and renaming 'hints' to
> 'options'; patch is here:http://code.google.com/p/v8/issues/detail?id=1537
>
> ChrisA

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

Reply via email to