UTF8 wxString to wxChar

30 views
Skip to first unread message

Gerald Brandt

unread,
Nov 19, 2009, 9:38:09 AM11/19/09
to wx-users
Hi,

I'm using trunk under Linux.

I have a UTF-8 wxString that I am pulling individual characters out of.  Is there an easy way to find out how many wxChars should be displayed at the same position?

What I mean is, UTF-8 allows overwriting of character to make special symbols.  When I DrawText the entire string, the display is correct.  When I DrawText a character at a time, the display is incorrect.

Gerald

Reply all
Reply to author
Forward
0 new messages