O'Reilly logo
  • Nivan Morgan thinks this is interesting:

UTF-16

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

if internal js, utf -8 may cause a problem? UTF-8 has an advantage in network transfers - no need to worry about endianness since you're transfering data one byte at a time (as opposed to 4). – Tim Čas Dec 31 '11 at 14:20