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?Queue=Win32-MBCS
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.
To install Win32::MBCS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::MBCS
CPAN shell
perl -MCPAN -e shell install Win32::MBCS
For more information on module installation, please visit the detailed CPAN module installation guide.