Home > Archive > Tcl > October 2005 > Windows GDI DrawText
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Windows GDI DrawText
|
|
| ctasada 2005-10-20, 7:00 pm |
| Hi guys,
I known that looking just the title, doesn't seems to be a post for
that forum, but it's :)
I've been playing with Michael Schwartz GDI extension to print some
strings in windows. If I user ASCII characters, everything is OK. My
problem comes when I use non ASCII characters. I'm using UTF-8 encoding
and for every UTF-8 char that I want to print, I end up with 2 or 3
garbage characters on screen.
Any help is more than welcome.
Thanks a lot.
| |
| David Gravereaux 2005-10-20, 7:00 pm |
| cta a wrote:
> Hi guys,
>
> I known that looking just the title, doesn't seems to be a post for
> that forum, but it's :)
>
> I've been playing with Michael Schwartz GDI extension to print some
> strings in windows. If I user ASCII characters, everything is OK. My
> problem comes when I use non ASCII characters. I'm using UTF-8 encoding
> and for every UTF-8 char that I want to print, I end up with 2 or 3
> garbage characters on screen.
>
> Any help is more than welcome.
>
> Thanks a lot.
>
Sounds to me like that GDI extension needs some edits to print native
unicode. Like TextOutW() or some such.
|
|
|
|
|