2008/1/27, Glenn Linderman:
> I would hope (and I think it is your intention from things you've said
> in the past) that a new code base would include support for Unicode
> windows.  While it may be needful to convert between UTF-8 and UTF-16 to
> access the wide character Windows APIs, and that may not always be
> particularly efficient, it is preferable to have the functionality at
> the cost of efficiency.  I chafe at the constraints of being unable to
> support all languages.  It seems that even Jan is not particularly
> interested in supporting Unicode on Windows...

Unicode is very well supported on Windows via native UTF-8 support and
the Unicode modules and encoding filters.
It's just that the UTF-16 MS Wide API is not supported in almost no
Win32 module.
Only Win32::OLE has it.

> of course, it seems that
> even Microsoft isn't interested in supporting UTF-8 on Windows... so
> since UTF-8 is the way Perl is, some efforts may be required, perhaps
> even a few patches to Perl (at least Perl-IO), to get full Unicode
> support on Windows (I'm thinking about the console here, in particular).

Just encode every string from UTF-8 to UTF-16 and pass this to the relevant
*W functions, instead of the *A functions
This is a stupid piece of copy&paste xs work.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to