[cfe-dev] UCNs/extended characters revisitted
Benjamin Stiglitz
stig at apple.com
Mon Jul 13 11:54:29 PDT 2009
> There are some simple things we can do, though: for example, we can
> special-case Chinese characters to count as two terminal columns.
This should only happen if you’re outputting to a terminal, and then
only as specified in Unicode Standard Annex #11: East Asian Width.
You’ll want to treat ambiguous characters as narrow (unless you’re
willing to target non-UTF8 output, but then you’re in for a lot of
other trouble anyhow).
-Ben
More information about the cfe-dev
mailing list