Hi Rob,

> Win32::GUI has almost no support for UTF-8/UCS-2.  It's near the top of
> my list for a new Win32::GUI version, but will probably never happen on
> top of the current codebase.  We'll have to see if I ever get time to
> look at a complete re-factoring or not.
>
> If you search the list archives (sorry, I don't remember if it was on
> the user list of the hackers list) you should find some code that I
> posted showing how it was possible to display unicode characters in a
> RichEdit control.

I haven't seen it, so it might have been on the hackers list.
Where can I find subscription information and the archive of that list?

I have found a workaround to display UTF-8 strings using Win32::GUI and
Win32::GUI::AxWindow but I think it could be improved.

The program saves the string in a temporary .txt file which is UTF-8
encoded, then when constructing the AxWindow object, I have used:

-control => "path_to_file",

so the UTF-8 string is displayed correctly in the html format.

Is it possible to display the UTF-8 string directly without saving it into a
temp file?

I have tried different ways of encoding to UTF-8 -control => "MSHTML:..."
but the string doesn't display correctly, so I'm obviously doing something
wrong.

Thank you.

Teddy




Reply via email to