Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for July 2008

perl.i18n

...

Printing non-ascii on the Win32 console by Bjoern Hoehrmann - July 1, 2008

Hi, Writing an example script for Win32::MultiLanguage that simply listsall supported code pages in the user&39;s default language, I naturally gotall the umlauts in the german output messed up in the console. Wonderinghow to fix that I thought there should be a simple way to say, e.g., binmode STDOUT => &39;:encoding(:terminal)&39; if -t STDOUT;I only found the :locale sub-pragma in open.pm and encoding.pm and itseems it does not work with binmode at all and would also fail on...
http://www.nntp.perl.org/group/perl.i18n/2008/07/msg214.html
Available Archives
- January (3 items)
- February (1 item)
- May (8 items)
- July (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact