Win32::MBCS - Utf8 and win32 local multi-byte string conversion |
Win32::MBCS - Utf8 and win32 local multi-byte string conversion
use Win32::MBCS qw(Utf8ToLocal LocalToUtf8); $data = "abcd\x{4e2d}\x{6587}"; Utf8ToLocal( $data ); print $data;
LocalToUtf8( $data ); use Encode; print Encode::encode( "gbk", $data );
Convert utf8 strings to or from win32 local multi-byte string.
Please report any requests, suggestions or bugs via http://bookbot.sourceforge.net/ http://rt.cpan.org/NoAuth/ReportBug.html
Copyright 2003-2004 Qing-Jie Zhou <qjzhou@hotmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Win32::MBCS - Utf8 and win32 local multi-byte string conversion |