|
|
|
|
|
by est
4949 days ago
|
|
yeah sure why not. >>> u'𡘓'[0:1]
u'\U00021613'
>>> u'Hi, Mr𡘓'[-1]
u'\U00021613
>>> u'𠀋'[0:1]
u'\U0002000b'
Javascript won't work because UCS2 in js engine, duh.Actually Javascript is messed up with Unicode string and binary strings, that's why Nodejs invented Buffer http://nodejs.org/api/buffer.html |
|