[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: newbie - Lua and unicode
- From: David Given <dg@...>
- Date: Thu, 14 Sep 2006 19:14:50 +0100
Phil Teschner wrote:
[...]
> It is not just Windows that uses UTF-16. If you look at the wikipedia reference for UTF-16 it lists some common OS and applications:
Actually, most of the items you list *can* use UTF-16, but *prefer* to
use UTF-8. Windows and Java are the exceptions that I know about, and
it's causing them endless grief --- the whole surrogate character mess
was added purely to solve the problems caused when the UCS-2 16-bit
character space filled up. Anything XML based, in particular, has
standardised on UTF-8.
UTF-16 has no advantages over other multibyte encodings, and quite a lot
of disadvantages (such as byte order issues, not being interoperable
with ASCII, bloat, etc). It's strongly recommended that people use UTF-8
these days.
--
+- David Given --McQ-+ "You cannot truly appreciate _Atlas Shrugged_
| dg@cowlark.com | until you have read it in the original Klingon."
| (dg@tao-group.com) | --- Sea Wasp on r.a.sf.w
+- www.cowlark.com --+
Attachment:
signature.asc
Description: OpenPGP digital signature