On Mon, Jul 4, 2011 at 7:42 PM, Chris Angelico <[email protected]> wrote:
> One ASCII character fits in one byte. One Unicode character doesn't, > and encoded as UTF-8, might take between one and three bytes. The null > terminator takes one byte, of course. > Slight correction: one to four bytes. http://en.wikipedia.org/wiki/UTF-8 ASCII text is, by definition, also UTF-8, so to say that a Unicode character is doesn't use 1 byte isn't strictly correct. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
