]> git.kaiwu.me - njs.git/commit
Fixed String.prototype.toUTF8() function.
authorIgor Sysoev <igor@sysoev.ru>
Wed, 28 Feb 2018 13:20:11 +0000 (16:20 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 28 Feb 2018 13:20:11 +0000 (16:20 +0300)
commitbd21362fa0473b053514dd6e0518c3f87a0ed42e
tree2347f4297806a8760949b5e1934ce302cd07e302
parentfec2133c42df06f2cbb682cdd20008b106121cab
Fixed String.prototype.toUTF8() function.

A byte string returned by String.prototype.toUTF8() had length equal
to its size so the string can be processed later as an ASCII string.
njs/njs_string.c
njs/test/njs_unit_test.c