The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Win32::MBCS - Utf8 and win32 local multi-byte string conversion

SYNOPSIS

  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 );

DESCRIPTION

Convert utf8 strings to or from win32 local multi-byte string.

EXPORT

None by default.

BUGS, REQUESTS, COMMENTS

Please report any requests, suggestions or bugs via http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Win32-MBCS

AUTHOR

Qing-Jie Zhou <qjzhou@hotmail.com>