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


Win32-MBCS documentation Contained in the Win32-MBCS distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

  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

Top

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

BUGS, REQUESTS, COMMENTS

Top

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

COPYRIGHT AND LICENSE

Top


Win32-MBCS documentation Contained in the Win32-MBCS distribution.

package Win32::MBCS;

use 5.008;
use strict;
use warnings;
use base qw(Exporter);
use vars qw($VERSION @EXPORT @EXPORT_OK);
$VERSION = "0.07";
@EXPORT = qw();
@EXPORT_OK = qw(Utf8ToLocal LocalToUtf8);

require XSLoader;
XSLoader::load('Win32::MBCS', $VERSION);

1;
__END__