mirror of https://github.com/lukechilds/node.git
Ryan
16 years ago
26 changed files with 383 additions and 429 deletions
@ -1,11 +1,9 @@ |
|||
include("mjsunit.js"); |
|||
|
|||
function onLoad () { |
|||
var a = [116,101,115,116,32,206,163,207,131,207,128,206,177,32,226,161,140,226,160, 129,226,160,167,226,160,145]; |
|||
var s = node.encodeUtf8(a); |
|||
assertEquals("test Σσπα ⡌⠁⠧⠑", s); |
|||
var a = [116,101,115,116,32,206,163,207,131,207,128,206,177,32,226,161,140,226,160, 129,226,160,167,226,160,145]; |
|||
var s = node.encodeUtf8(a); |
|||
assertEquals("test Σσπα ⡌⠁⠧⠑", s); |
|||
|
|||
a = [104, 101, 108, 108, 111]; |
|||
s = node.encodeUtf8(a); |
|||
assertEquals("hello", s); |
|||
} |
|||
a = [104, 101, 108, 108, 111]; |
|||
s = node.encodeUtf8(a); |
|||
assertEquals("hello", s); |
|||
|
Loading…
Reference in new issue