An application I'm developing contains an edit control, into which text
is inserted via the EM_REPLACESEL message. The text is encoded as
Unicode. This works fine for most scripts, including many combining
characters (for example, e + accute accent gives the correct glyph).
However, if the text contains Korean Jamo then they are rendered
individually, rather than combined as specified by the Unicode
standard. I can correctly combine the same Jamo in the same edit
control by using the keyboard via the Korean IME, so I assume it's not
just a font issue.
I've tried using a rich edit control, and the EM_SETTEXTEX message
instead, with no change to the behaviour.
Does anyone know whether composition is supposed to be supported in
this way? If so, what am I doing wrong? :-) Do I need to do the
conversion myself before inserting the text into the edit control?
Thanks,
Phil Cowans
http://blogs.msdn.com/michkap/archive/2005/02/25/380266.aspx
which talks about other issues but mentions that they do not, in fact,
currently combine.
And then see
http://blogs.msdn.com/michkap/archive/2005/08/20/454144.aspx
which describes the tools you can download to convert combining Jamo (by
definition in Unicode Normalization form "D") into precomposed Hangul
syllables (by definition in Unicode Normalization form "C") .
--
MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap
This posting is provided "AS IS" with
no warranties, and confers no rights.
<pj...@cam.ac.uk> wrote in message
news:1126343664....@z14g2000cwz.googlegroups.com...