ShiftJIS::X0213::MapUTF version 0.20 ================ NAME ShiftJIS::X0213::MapUTF conversion between Shift_JIS-2003/Shift_JISX0213 and Unicode SYNOPSIS use ShiftJIS::X0213::MapUTF; # for Shift_JIS-2003 (specified by JIS X 0213:2004) $utf16be_string = sjis2003_to_utf16be($sjis2003_string); $sjis2003_string = utf16be_to_sjis2003($utf16be_string); # for Shift_JISX0213 (specified by JIS X 0213:2000) $utf16be_string = sjis0213_to_utf16be($sjis0213_string); $sjis0213_string = utf16be_to_sjis0213($utf16be_string); DESCRIPTION This module provides the following functions: sjis2003_to_utf8() converts Shift_JIS-2003 to UTF-8. sjis2003_to_utf16le() converts Shift_JIS-2003 to UTF-16LE. sjis2003_to_utf16be() converts Shift_JIS-2003 to UTF-16BE. sjis2003_to_utf32le() converts Shift_JIS-2003 to UTF-32LE. sjis2003_to_utf32be() converts Shift_JIS-2003 to UTF-32BE. sjis2003_to_unicode() converts Shift_JIS-2003 to Unicode[*]. utf8_to_sjis2003() converts UTF-8 to Shift_JIS-2003. utf16le_to_sjis2003() converts UTF-16LE to Shift_JIS-2003. utf16be_to_sjis2003() converts UTF-16BE to Shift_JIS-2003. utf32le_to_sjis2003() converts UTF-32LE to Shift_JIS-2003. utf32be_to_sjis2003() converts UTF-32BE to Shift_JIS-2003. unicode_to_sjis2003() converts Unicode[*] to Shift_JIS-2003. utf16_to_sjis2003() converts UTF-16 to Shift_JIS-2003. utf32_to_sjis2003() converts UTF-32 to Shift_JIS-2003. sjis0213_to_utf8() converts Shift_JISX0213 to UTF-8. sjis0213_to_utf16le() converts Shift_JISX0213 to UTF-16LE. sjis0213_to_utf16be() converts Shift_JISX0213 to UTF-16BE. sjis0213_to_utf32le() converts Shift_JISX0213 to UTF-32LE. sjis0213_to_utf32be() converts Shift_JISX0213 to UTF-32BE. sjis0213_to_unicode() converts Shift_JISX0213 to Unicode[*]. utf8_to_sjis0213() converts UTF-8 to Shift_JISX0213. utf16le_to_sjis0213() converts UTF-16LE to Shift_JISX0213. utf16be_to_sjis0213() converts UTF-16BE to Shift_JISX0213. utf32le_to_sjis0213() converts UTF-32LE to Shift_JISX0213. utf32be_to_sjis0213() converts UTF-32BE to Shift_JISX0213. unicode_to_sjis0213() converts Unicode[*] to Shift_JISX0213. utf16_to_sjis0213() converts UTF-16 to Shift_JISX0213. utf32_to_sjis0213() converts UTF-32 to Shift_JISX0213. [*] .. Perl's internal format. see perlunicode.pod. DEPENDENCIES This module requires Perl 5.6.1 or later. (sorry, cannot be built with Perl 5.6.0!) INSTALLATION You need a C compiler to build this module. To install this module type the following: perl Makefile.PL make make test make install COPYRIGHT AND LICENCE SADAHIRO Tomoyuki http://homepage1.nifty.com/nomenclator/perl/ Copyright(C) 2002-2004, SADAHIRO Tomoyuki. Japan. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO * JIS X 0213:2000/Amd1:2004 7-bit and 8-bit double byte coded extended KANJI sets for information interchange, by JISC.