wxMSW DrawText and SetUserScale

Martin Cote cote.martin at gmail.com
Sat Apr 12 17:55:45 PDT 2008


On Sat, Apr 12, 2008 at 7:14 PM, Vadim Zeitlin <vadim at wxwidgets.org> wrote:
>  MC> Also, Unicode strings doesn't seems to display well with the same
>  MC> drawing functions.
>
>   What do you mean?

Well, actually it works.  The problem I had is that I saved some
unicode strings (UTF-8) in a file with wxMac, and read these strings
from wxMSW.  The non-ascii characters aren't displayed properly in
this case (using DrawText or DrawLabel).  However, If I save/read
everything from wxMSW, it works.  The strings saved from wxMSW seems
to have an octal format for non-ascii characters (e.g., \130 instead
of é).  Is this behavior considered normal?

Many thanks for your help,
Martin Cote


More information about the wx-users mailing list