Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't let v8::String::Utf8Write() append '\0' to the output buffer.
v8::String::Utf8Write() appends '\0' if there is room left in the output buffer. Pass in the exact decoded length obtained with v8::String::Utf8Length() to make it stop doing that. Fixes nodejs#394.
- Loading branch information