From: Robert M. <rob...@us...> - 2008-01-27 17:24:05
|
On 13/10/2007, Octavian Rasnita <ora...@gm...> wrote: > I know that Win32::GUI doesn't support UTF-8 characters and maybe it won't > support it very soon, but is it possible to use characters in other european > languages in a Win32::GUI program? > > I just want to use the charset ISO-8859-2 instead of ISO-8859-1, or... the > Windows1052/1050. > > Is it possible to do that? I know that I could make a hack and use UTF-8 in > a Richedit field, but I need to use special chars in menus, lists... I've never tried this, but I think that in theory if your machine's default code-page is ISO-8859-2, then if you put ISO-8859-2 code-points into a perl string, then it will mostly work - Win32::GUI simply passes the byte strings from perl to the windows controls, that in turn assume that the byte strings represent characters in the default code page (CP_ACP). Please let me know if you follow-up on this any try it. Rob. |