nanogui: About UTF8->UTF16
Subject:
Re: [nanogui] About UTF8->UTF16
From:
"Greg Haerr" ####@####.####
Date:
25 Apr 2006 22:59:22 +0100
Message-Id: <117b01c668b3$49a62de0$0300a8c0@RDP>
: Try using
: GrText(w, gc, 0, y, buf, 24, MWTF_UTF8|MWTF_BASELINE) , It works!
: But in nano-X-docs.pdf, it says "count : the number of characters (not
bytes)
: in the string, do I miss something?
It appears our docs must be incorrect here. I suspect the issue
is that for UC16, and ASCII, we want a character count, but for
UTF8, since it's variable-length encoded, we want a byte count.
I'll look into this and respond with more detail.
Regards,
Greg