Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Unicode::Japanese::JA(User Contributed Perl DocumentatUnicode::Japanese::JA(3)

NAME
       Unicode::Japanese::JA - aeYae~eaaeaa^3a1/4aaxae

ae|`
	use Unicode::Japanese;
	use Unicode::Japanese qw(unijp);

	# convert utf8 -> sjis

	print Unicode::Japanese->new($str)->sjis;
	print unijp($str)->sjis; # same	as above.

	# convert sjis -> utf8

	print Unicode::Japanese->new($str,'sjis')->get;

	# convert sjis (imode_EMOJI) ->	utf8

	print Unicode::Japanese->new($str,'sjis-imode')->get;

	# convert zenkaku (utf8) -> hankaku (utf8)

	print Unicode::Japanese->new($str)->z2h->get;

`e<I>a~ae			  _
       Unicode::Japanese a i1/4aeYae~eaa(R)aea-
       a^3a1/4aa(R)c,aoaxaeae!aaca,aYa1/4a<<a<section>ai1/4

   ae(C)`e1/2					_
       o Unicode::Japanese a(R)axa^3a^1a?a^3a^1a i1/4UTF-8 a<section>aea-
	 aaa?aeaa3/4ai1/4

       o XS_a1/2?c"/a,a1/2?c"aa+-a<<a<micro>aa1/4aaa|aa3/4ai1/4	XS
	 ca_aaa(C)a1/4aa^3a^1aa?e|aaa 'aa<<i1/4	No-XS
	 ca aee>>1/2a<<a1/2?c"aaaa 'aa<<a1/2?c"aa|a,aa (Japanese.pm
	 aa^3aa1/4aaa aa<section>aa1/2aa3/4a)i1/4

       o a"e<section>ae<section>axaei1/4a<<a?a<<aa^2aaaaaxaeaa<micro>aa1/4aaa|aa3/4ai1/4
	      _
       o aeoa, e>>e(C)+- (DoCoMo i-modei1/4KDDI	AU, Softbank Mobile, ASTEL
	 dot-i)	a(R)c<micro><micro>aeaa	Unicode
	 c<section>c"e aa<<aaaa^3a<degree>aaaa"a<section>i1/4DB	c-
	 a<section>a(R)a"a<<ae+-aaa"aa<section>aa3/4ai1/4
			  _
       o c<_degree>aaaaeoa,_e>>e(C)+-aaL<<a<section>i1/4aaaxa!a1/4a,a(R)c<micro><micro>aea-
	 a c,aoaxaeaaaa"aa e1/2a<section>ai1/4
	       _
       o SJIS a	i1/4 MS-CP932 a"a?aaaa|	Unicode	a"aaaa^3a<degree>ae!aa3/4ai1/4

       o Unicode -> SJISi1/4aa^3EUC-JP/JISi1_4 a(R)aaaa^3a<degree>aei1/4SJIS
	 a<section>e!"c3/4a<section>aaaaaeaa  &#dddd;
	 a1/2ca1/4a<<axaeaa3/4ai1/4				_
	 aa aUnicodec<section>c"e aa<<_aaaa|aac<micro><micro>aeaaa<<aaaa3_4a. a3/4a,	ae_a, e>>e(C)+-aaa(R)axaeaea<<a	,
	 aa^1a|a(R)a 3/4a?aaaaaeaa '?'a<<aaaa3/4a.

       o Perl-5.8.0 a>>Yea<<aaa|, ut_8 aa(C)a<degree>a(R)e"a(R)a|cae!aa3/4a.
	 utf-8 `aaxa'a_a(R)aa3/4a<<a  utf8() a!a1/2aaa,	utf-8 `aea'a
	 a(R)aa3/4a<<a	getu() a!a1/2aaaa1/2?aa3/4a.
			_		     _
	 get() a!a1/2aaa c3/4aec^1a<_section>a  utf-8 `aaxa'a ae?aa3/4a
	 (a<degree>aeYca<<axae'aaaa e1/2ae<section>aaaa3/4a).
							 _
	 sjis(), jis(),	utf8(),	etc.. a!a1/2aaaa aaxaaae?aa3/4a.
	 new, set, getcode a!a1/2aaa(R)aYaa<<a , utf8-flaged/bytes aaaa3/4aa.

o<I>a~
       o   perl	5.10.x,	5.8.x, etc. (5.004 a>>Ye).
							   _
       o   (aaaa|aOK) _	a^3a^3aaxa(C).	aa(R)aca,aYa1/4a<<a  XS	a"_Pure	Perl
	   a,!ae^1a<<a 3/4a?aa_aa3/4a.	C a^3a^3aaxa(C)aaaaa"aa<<a ,
	   Unicode::Japanese a	Pure Perl
	   aca,aYa1/4a<<a"aa|axa^3a^1aa1/4a<<aaa3/4a.

       o   (aaaa|aOK) aa^1ac"a<< Test.pm aa^3 Test::More.
				      _
       a(R)e!aea<<a?e aaaca,aYa1/4a<<a aaa3/4aa.

~
       $s = Unicode::Japanese->new($str	[, $icode [, $encode]])
	   ae<degree>aa	Unicode::Japanese axa^3a^1a?a^3a^1aaea(R)aa3/4ai1/4

	   aa(C)a!a1/4a?aaea(R)aaa"i1/4"set" a!a1/2aaa<<ae,!aaa3/4ai1/4

       $s = unijp($str [, $icode [, $encode]])
	   Unicode::Janaese->new(...) a"ac3/4(C).

       $s->set($str [, $icode [, $encode]])
	   $str: aeaa			    _	       _
	   $icode: aeaa^3a1/4aaea(R)i1/4ccYa i1/_ccYaea	 'utf8'
	   $encode: aaxaaac~|a.aae^1a1/4i1/4ccYa i1/4

	   axa^3a^1a?a^3a^1a<<aeaaaa>>aaaa3/4ai1/4 aeaa^3a1/4aaea(R)accYaaa"
	   UTF-8 a"e|aaaaa3/4ai1/4
		  _
	   a(C)c"a e1/2aaaeaa^3a1/4a:

	    auto
	    utf8 ucs2 ucs4
	    utf16-be utf16-le utf16
	    utf32-be utf32-le utf32
	    sjis cp932 euc euc-jp jis
	    sjis-imode sjis-imode1 sjis-imode2
	    utf8-imode utf8-imode1 utf8-imode2
	    sjis-doti sjis-doti1
	    sjis-jsky sjis-jsky1 sjis-jsky2
	    jis-jsky  jis-jsky1	 jis-jsky2
	    utf8-jsky utf8-jsky1 utf8-jsky2
	    sjis-au sjis-au1 sjis-au2
	    jis-au  jis-au1  jis-au2
	    sjis-icon-au sjis-icon-au1 sjis-icon-au2
	    euc-icon-au	 euc-icon-au1  euc-icon-au2
	    jis-icon-au	 jis-icon-au1  jis-icon-au2
	    utf8-icon-au utf8-icon-au1 utf8-icon-au2
	    ascii binary

	   ( aac<section>.)
				     _			       _
	   aeaa^3a1/4aaeaaaxaYaaa 'aa i1/4'_uto' aaea(R)aaaaa|a	aaa3/4aai1/4
	   'auto' aea(R)aeaa^3a1/4aeaaaxaYa i1/4getcode() a!a1/2aaa<<aa
	   e!aaa3/4ai1/4
				   _
	   aaxaaac~|a.aa_^1a1/4a<<a i1/4'base64'		  _
	   a(R)a?aea(R)a e1/2a<section>ai1/4 b_se64 aaea(R)aaa 'aa i1/4base64
	   aa^3a1/4aaaa|aa Unicode::Japanese a a(C)a^1a(R)aeaaa"aaaa3/4ai1/4
								     _
	   ae,!aaaaeaaaaxae'aaaa(R)a3/4a3/4ae 1/4c'aa|ae~^2aaa 'aa<<a i1/4aea-
	   a^3a1/4aa"aa| 'binary' aaea(R)aa3/4ai1/4
								      _
	   sjis-imodei1/4sjis-dotii1/4a(R)a 'ai1/4aeaaa,a(R) &#dddd; a
	   c<micro><micro>aeaa<<axaeaaa3/4ai1/4
		       _
	   aeaa^3a1_4aa	e aaeaaaLa|aaa_'aaaaaai1/4
	   eaaaxaYa ccoa(R)a<section>a aaa3/4aai1/4

	   sjis, utf8_a(R)a,!ae^1a<<e<section>Lea<section>aaaea-
	   aa(R)a 'aa i1/4sjisi1/4 sjis-aui1/4sjis-doti	      _
	   a(R)a,!ae^1a<<e<section>Lea<section>aaaeaaa(R)a 'aa i1/4sjis-aui1/4
	   ae?aa3/4ai1/4

       $str = $s->get
	   $str: aeaa(UTF-8)

	   aeaaa UTF-8 a^3a1/4aa<section>aaaoaa3/4ai1/4
		  _
	   c3/4a"a  `aaxa' a ae?aa3/_aa,
	   a<degree>aeYca<<axae'aaaa e1/2ae<section>aaaa3/4a.

	   aaxaaaa?e|aaa utf8()	a!a1/2aaa, aeaaaa?e|aaa	getu()
	   a!a1/2aaaa1/2?aaa"aaaa^1a^1a!aa3/4a.

       $str = $s->getu
	   $str: aeaa(UTF-8)

	   aeaaa UTF-8 a^3a1/4aa<section>aaaoaa3/4ai1/4
				   _
	   Perl-5.8.0 a>>Yea<<aaa|a , utf-8 aa(C)a<degree>a(R)axaa utf-8 aea-
	   aa"aa| e?aa3/4a.

       $code = $s->getcode($str)
	   $str: aeaa
	   $code: aeaa^3a1/4aae!"aaeaa

	   ae,!aaaaeaa($str)a(R)aeaa^3a1/4aaeaaaxaYaa3/4ai1/4
				       _
	   aa(R)ecae<degree>a<section>a	, a3/4axca<<,
	   axa^3a^1a?a^3a^1a<<a?aeaaa|aa aea- _
	   aa(R)a^3a1/4aaaxaYaaa(R)a<section>a aaaaa"a<<ae^3"aeaa|aa aai1/4

	   aea-		     _
	   a^3a1/4aeaaaxaYaea i1/4a>>Ya,a(R)aca<<a'aaaoa a<<aaaxa(R)ae!aaa3/4ai1/4

	   (PurePerlae)

	   1.  UTF-32 a(R) BOM aaaa<degree>i1/4utf32 a"axa(R)aa3/4ai1/4

	   2.  UTF-16 a(R) BOM aaaa<degree>i1/4utf16 a"axa(R)aa3/4ai1/4

	   3.  UTF-32BE	a"aa|aeLaaa1/2ca1/4aaai1/4utf32-be a"axa(R)aa3/4ai1/4

	   4.  UTF-32LE	a"aa|aeLaaa1/2ca1/4aaai1/4utf32-le a"axa(R)aa3/4ai1/4
			     _
	   5.  ESC aea a3/4aa  8 aaac(R)a(R)c<<aLa|aaaea-
	       aa<<a3/4aa|aaaaaa<degree>i1/4ascii a"axa(R)aa3/4	aaaexaa
	       ASCII_a<paragraph>a3/4!aea (0x00-0x1F aa^3 0x7F)	a  ascii
	       a(R)c a^2aa"e|aaa3/4 aa

	   6.  JISa"a^1a+-a1/4aa.a1/4a+-a^3a^1aa<<a3/4aa|aaa<degree>i1/4jis
	       a"axa(R)aa3/4ai1/4

	   7.  J-PHONE a(R)c<micro><micro>aea-
	       aa<<a3/4aa|aaa<degree>i1/4sjis-jsky a"axaYaa3/4ai1/4

	   8.  EUC-JP a^3a1/4aa"aa|aeLaaa1/2ca1/4aaai1/4euc a"axa(R)aa3/4ai1/4

	   9.  SJIS a^3a1/4aa"aa|aeLaaa1/2ca1/4aaai1/4sjis a"axa(R)aa3/4ai1/4

	   10. SJIS a^3a1/4aa" au a(R)c<micro><micro>aeaa"aa|ae-
	       Laaa1/2ca1/4aaai1/4sjis-au a"axa(R)aa3/4ai1/4

	   11. SJIS a" i-mode a(R)c<micro><micro>aeaa"aa|ae-
	       Laaa1/2ca1/4aaai1/4sjis-imode a"axaYaa3/4ai1/4

	   12. SJIS a" dot-i a(R)c<micro><micro>aeaa"aa|ae-
	       Laaa1/2ca1/4aaai1/4sjis-doti a"axaYaa3/4ai1/4

	   13. UTF-8 a"aa|aeLaaa1/2ca1/4aaai1/4utf8 a"axa(R)aa3/4ai1/4
			     _
	   14. aaaa<<aa1/2a|a a3/4aaaaa	'ai1/4unknown a"axa(R)aa3/4ai1/4

	   (XSae)

	   1.  UTF-32 a(R) BOM aaaa<degree>i1/4utf32 a"axa(R)aa3/4ai1/4

	   2.  UTF-16 a(R) BOM aaaa<degree>i1/4utf16 a"axa(R)aa3/4ai1/4

	   3.  a>>Ya,a(R)a^3a1/4aa<<axaa|, aeLaaaea-
	       a^3a1/4aa<section>aaaa"ac<paragraph>aee.c<section>>>ac"aa|ea?a^1a3/4a.

	       ascii / euc / sjis / jis	/ utf8 / utf32-be / utf32-le / sjis-
	       jsky / sjis-imode / sjis-au / sjis-doti

	   4.  aea3/4a3/4a<section>aeLaaaLaaa(R)a(R)a,aa,
	       a>>Ya,a(R)aaae a<section>i1/4axaaaaa<section>,
	       aaa"axa(R)aa3/4a.

	       utf32-be	/ utf32-le / ascii / jis / euc / sjis /	sjis-jsky /
	       sjis-imode / sjis-au / sjis-doti	/ utf8
			     _
	   5.  aaaa<<aa1/2a|a a3/4aaaaa	'ai1/4unknown a"axa(R)aa3/4ai1/4

	   a>>Ya,a(R)aca<<a'aaaoa a(R)aai1/4a>>Ya,a(R)c^1a<<ae^3"aeaa|aa aai1/4

	   o UTF-8 aea-				   _
	     aa<section>ai1/4SJISa^3a1/4aa"e|aaaaaa e1/2ae<section>aaaa3/4ai1/4
			      _
	   o UCS2 a(R)eaaaxaYa a<section>aa3/4aai1/4
		     _
	   o UTF-16 a  BOM aaaa	'aa(R)a?eaaeaeaa3/4ai1/4
		  _
	   o a_oa, c<micro><micro>aea-
	     a i1/4aaxaaaa<section>c'aeYc<micro><micro>aeaaaaa 'aa(R)a?eae-
	     a<section>aa3/4ai1/4
	      &#dddd;				       _	 _
	     a1/2ca1/4a<s_ction>e"e?<degree>aaa|aaa 'aa	i1/4aeoa, c<micro><micro>aea-
	     a(R)eaaaxaYa e!aaa3/4aai1/4
				  _
	   XSa"PurePerla<section>a , axaYa(R)aca<<a'aaaoa a<<eaaaaaa,
	   c<degree>aaac<micro>aea<<aaaa e1/2ae<section>aaaa3/4a.  c^1a<<,
	   a"a^1a+-a1/4aaeaaa<<_aa<section>aasjisa(R)a 'a,    _
	   Pur_Perla<section>a sjisa"eaeaa3/4aa	XSa<section>a eaeaa3/4aa.
	   aaa sjis-jskya"aoaYa<section>aaaaaaaaaa<section>a. a3/4a, aa(R)
	   a1/2c"a<<aaeaxeaeae^2aaa, euc-jpa<<aaa|a,
	   aae<section>a<<a"a^1a+-a1/4aaeaaaaa>>aaaa aaaLa|aa3/4a.

       $code = $s->getcodelist($str)
	   $str: aeaa
	   $code: aeaa^3a1/4aae!"aaeaa

	   ae,!aaaaeaa($str)a(R)aeaa^3a1/4aaeaaaxaYaa3/4ai1/4
		      _			_
	   getcode a"a ea, aa^1a|a(R)aca e1/2aaaeaa^3a1/4aa(R)
	   a,e|<section>ae?aa3/4a.

       $str = $s->conv($ocode, $encode)
	   $ocode: aoaa^3a1/4a (a>>Ya,aaaea(R))
	      utf8 ucs2	ucs4 utf16
	      sjis cp932 euc euc-jp jis
	      sjis-imode sjis-imode1 sjis-imode2
	      utf8-imode utf8-imode1 utf8-imode2
	      sjis-doti	sjis-doti1
	      sjis-jsky	sjis-jsky1 sjis-jsky2
	      jis-jsky	jis-jsky1  jis-jsky2
	      utf8-jsky	utf8-jsky1 utf8-jsky2
	      sjis-au sjis-au1 sjis-au2
	      jis-au  jis-au1  jis-au2
	      sjis-icon-au sjis-icon-au1 sjis-icon-au2
	      euc-icon-au  euc-icon-au1	 euc-icon-au2
	      jis-icon-au  jis-icon-au1	 jis-icon-au2
	      utf8-icon-au utf8-icon-au1 utf8-icon-au2
	      binary

	     ( aac<section>.)
		  _
	     aeoa, aaaeaa^3aaa(R)aa!i1/4ae<<a<degree>3/4a<<ae<degree>a-
	     aaxaa|aaaa(R)a i1/4ae<degree>aaax<section>aaa>>a(C)
	     ax<section>aaac<micro><micro>aea-
	     a>>aai1/4aeae<degree>ae(C)c"(R)a(R)c<micro><micro>aea-
	     a>>aai1/4ae!"aa|aa3/4ai1/4	ae<degree>a-
	     aaaa(R)aa(R)a i1/4aaLa"aae<degree>aaax<section>aaaea-
	     a^3a1/4aa"aa,a<section>ai1/4
						_
	   $encode: aaxaaac~|a.aae^1a1/4i1/4ccYa i1/4
	   $str: aeaa

	   aeaaaaea(R)aaaeaa^3a1/4aa<<axaeaa|aaaaaoaa3/4ai1/4
			       _			  _
	   aeaa"a^3a^3a1/4aa<<a	ia(R)a?aea(R)a e1/2a<section>ai1/4
	   base64 aaea(R)aaa 'aa i1/4base64 a"a^3a^3a1/4aaaa aea-
	   aae?aaa3/4ai1/4
					_
	   perl-5.8.0 a>>Yea<<aaa|, aoaa  utf-8
	   aa(C)a<degree>aaeaaaaaaxaaa<<aaaa3/4a.

       $s->tag2bin
	   aeaaa,a<<a<<a3/4aa &#dddd; a1/2ca1/4a(R)aeaaai1/4aaae!"aaea-
	   eaa1/2a<<c1/2(R)aaeaa3/4ai1/4

       $s->z2h
	   a"e<section>aae<section>a<<axaeaa3/4ai1/4

       $s->h2z
	   ae<section>aa"e<section>a<<axaeaa3/4ai1/4

       $s->hira2kata
	   a^2aaaaaa<<a?a<<aa<<axaeaa3/4ai1/4

       $s->kata2hira
	   a<<a?a<<aaa^2aaaaa<<axaeaa3/4ai1/4

       $str = $s->jis
	   $str: JIS a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa

	   aeaaa JISi1/4ISO-2022-JPi1/4	a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str = $s->euc
	   $str: euc-jp	a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa

	   aeaaa EUC-JP	a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str = $s->utf8
	   $str: utf-8 a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa

	   aeaaa UTF-8 a^3a1/4aa<section>aaaoaa3/4ai1/4

	   perl-5.8.0 a>>Yea<<aaa|a, aaxaaae?aa3/4a.

       $str = $s->ucs2
	   $str: ucs2 a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa

	   aeaaa UCS2 a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str = $s->ucs4
	   $str: ucs4 a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa

	   aeaaa UCS4 a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str = $s->utf16
	   $str: ucs-16	a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
							     _
	   aeaaa UTF-16	a^3a1/4aa<section>aaaoaa3/4ai1/4 BOMa a>>aa3/4aai1/4
	   aaa a"a^3aaLaca^3a1/2ca1/4a<section>e?aaa3/4ai1/4

       $str = $s->sjis
	   $str: sjis a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa

	   aeaaa SJISi1/4MS-CP932i1/4 a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str = $s->sjis_imode
	   $str: sjis/imodec<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			   _
	   aeaaa i-mode	c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4
	   aeae<degree>a(R)imodec<micro><micro>aeaa(R)aYaa<section>a.

       $str = $s->sjis_imode1
	   $str: sjis/imode c<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			   _
	   aeaaa i-mode	c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4
	   aoae~c<micro><micro>aeaa aaaaeaa3/4a.

       $str = $s->sjis_imode2
	   $str: sjis/imode c<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			   _
	   aeaaa i-mode	c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4
	   aoae~c<micro><micro>aea, ae!a1/4<micro>c<micro><micro>aea-
	   aa<<a?a3/4a.

       $str = $s->sjis_doti
	   $str: sjis/dot-i c<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			  _
	   aeaaa dot-i c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str = $s->sjis_jsky
	   $str: sjis/j-sky c<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			  _
	   aeaaa j-sky c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4_
	   aeae<degree>a(R)j-skyc<micro><micro>aea(VERSION 0.15	a<section>a ,
	   jsky2)a(R)aYaa<section>a.

       $str = $s->sjis_jsky1
	   $str: sjis/j-sky c<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			  _
	   aeaaa j-sky c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4
	   Page	1i1/23 a(R)a?a(R)c<micro><micro>aeaaa<<a?a3/4a.

       $str = $s->sjis_jsky
	   $str: sjis/j-sky c<micro><micro>aea
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
			  _
	   aeaaa j-sky c<< ae<<aaa(R) SJIS a^3a1/4aa<section>aaaoaa3/4ai1/4
	   Page	1i1/26 a(R)c<micro><micro>aeaaa<<a?a3/4a.

       $str = $s->sjis_icon_au
	   $str: sjis/AU icona?a<degree>
	   a"a^3a^3a1/4aaLa^3a<degree>a1/2ca1/4a(R)aaxaa
		       _
	   aeaaa AU c<<	ae<<aaa(R) SJIS	a^3a1/4aa<section>aaaoaa3/4ai1/4

       $str_arrayref = $s->strcut($len)
	   $len: aa^2aaaeaae<degree>(a"e<section>c,a1/2)
	   $str_arrayref: aeaa

	   $lena<section>aea(R)aaaaeaae<degree>(a"e<section>)a>>Ya,a(R)aea-
	   aa(R)eaa<<aa^2aa3/4ai1/4
			_
	   eaa(R)ae|c' a , utf-8 aa(C)a<degree>aaeaLautf-8aeaaa<section>a.

       $len = $s->strlen
	   $len: aeaaa(R)e!"cxoa^1
			_					  _
	   UTF-8 aeaa<<a 3/4aa|	length() aa1/2?aa"a"e<section>aeaa i1/4aea-
	   aaae.a 3 a<<aaaLa|aa3/4aa3/4aai1/4
	   aa(R)a!a1/2aaaa1/2?c"aaa"i1/4aYa(R) SJIS
	   a(R)aaa<<i1/4a"e<section>aeaa i1/4aeaaaae.a 2 ae?aa3/4ai1/4

       $s->join_csv(@values);
	   @values: aa1/4a?ea

	   eaa CSV aeaaa<<axaeai1/4axa^3a^1a?a^3a^1a<<ae 1/4c'aa3/4ai1/4 aea-
	   aa(R)aea3/4a<<a ae^1e!("\n")ae?1/2a aaa3/4ai1/4

       @values = $s->split_csv;
	   @values: aa1/4a?ea

	   axa^3a^1a?a^3a^1a<<ae 1/4c'aaa|aaaeaaa CSV
	   a"e|aaai1/4eaa<<aa^2aa3/4ai1/_ aea-
	   aa(R)aea3/4a<<aaae^1e!("\n")a aaexaaa|aaaa^2aaa3/4ai1/4

	   aYaa	bina_y a<section>aaaaa<degree> utf-8 aeaaae?aa3/4a.  binary
	   a aLaa"aa aaxaaae?aa3/4a.

~a<micro>~a~a1/4~a~a~a~a|~a~a~a"~a^3~a^3~a1/4~a~a-L~a^3~a<degree>
	+---------------+----+-----+-------+
	|encoding	| in | out | guess |
	+---------------+----+-----+-------+
	|auto		: OK : --  | ----- |
	+---------------+----+-----+-------+
	|utf8		: OK : OK  | OK	   |
	|ucs2		: OK : OK  | ----- |
	|ucs4		: OK : OK  | ----- |
	|utf16-be	: OK : --  | ----- |
	|utf16-le	: OK : --  | ----- |
	|utf16		: OK : OK  | OK(#) |
	|utf32-be	: OK : --  | OK	   |
	|utf32-le	: OK : --  | OK	   |
	|utf32		: OK : --  | OK(#) |
	+---------------+----+-----+-------+
	|sjis		: OK : OK  | OK	   |
	|cp932		: OK : OK  | ----- |
	|euc		: OK : OK  | OK	   |
	|euc-jp		: OK : OK  | ----- |
	|jis		: OK : OK  | OK	   |
	+---------------+----+-----+-------+
	|sjis-imode	: OK : OK  | OK	   |
	|sjis-imode1	: OK : OK  | ----- |
	|sjis-imode2	: OK : OK  | ----- |
	|utf8-imode	: OK : OK  | ----- |
	|utf8-imode1	: OK : OK  | ----- |
	|utf8-imode2	: OK : OK  | ----- |
	+---------------+----+-----+-------+
	|sjis-doti	: OK : OK  | OK	   |
	|sjis-doti1	: OK : OK  | ----- |
	+---------------+----+-----+-------+
	|sjis-jsky	: OK : OK  | OK	   |
	|sjis-jsky1	: OK : OK  | ----- |
	|sjis-jsky2	: OK : OK  | ----- |
	|jis-jsky	: OK : OK  | ----- |
	|jis-jsky1	: OK : OK  | ----- |
	|jis-jsky2	: OK : OK  | ----- |
	|utf8-jsky	: OK : OK  | ----- |
	|utf8-jsky1	: OK : OK  | ----- |
	|utf8-jsky2	: OK : OK  | ----- |
	+---------------+----+-----+-------+
	|sjis-au	: OK : OK  | OK	   |
	|sjis-au1	: OK : OK  | ----- |
	|sjis-au2	: OK : OK  | ----- |
	|jis-au		: OK : OK  | ----- |
	|jis-au1	: OK : OK  | ----- |
	|jis-au2	: OK : OK  | ----- |
	|sjis-icon-au	: OK : OK  | ----- |
	|sjis-icon-au1	: OK : OK  | ----- |
	|sjis-icon-au2	: OK : OK  | ----- |
	|euc-icon-au	: OK : OK  | ----- |
	|euc-icon-au1	: OK : OK  | ----- |
	|euc-icon-au2	: OK : OK  | ----- |
	|jis-icon-au	: OK : OK  | ----- |
	|jis-icon-au1	: OK : OK  | ----- |
	|jis-icon-au2	: OK : OK  | ----- |
	|utf8-icon-au	: OK : OK  | ----- |
	|utf8-icon-au1	: OK : OK  | ----- |
	|utf8-icon-au2	: OK : OK  | ----- |
	+---------------+----+-----+-------+
	|ascii		: OK : --  | OK	   |
	|binary		: OK : OK  | ----- |
	+---------------+----+-----+-------+
	(#): guessed when it has bom.

   `e<I>aoa`e<I>a`eoa<I>aoa'e "a1/2
	1.  utf32 (#)
	2.  utf16 (#)
	3.  utf32-be
	4.  utf32-le
	5.  ascii
	6.  jis
	7.  sjis-jsky (pp)
	8.  euc
	9.  sjis
	10. sjis-jsky (xs)
	11. sjis-au
	12. sjis-imode
	13. sjis-doti
	14. utf8
	15. unknown

DESCRIPTION OF UNICODE MAPPING	     _
       Unicode a"a(R)aaaa^3a<degree>a a>>Ya,a(R)aaa<<e!aaa3/4ai1/4

       Shift_JIS
	 MS-CP932 a"aa|	Unicode	a,aaaa^3a<degree>ae!aa3/4ai1/4
	 aaaa^3a<degree>aa1/4aa<<a a>>Ya,a(R)URLa(R)aa(R)aa1/2?c"aa|aa3/4ai1/4

	 <ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT>

	 Unicode aa SJIS
	 a,aaaa^3a<_degree>aaa 'aa<<i1/4e!"c3/4a<section>aaaaaeaaaaa"i1/4
	 aa(R)aeaa  &#_ddd; a1/2ca1/4a<<ax_eaa3/4ai1/4
	 aa ai1/4aeoa, c<micro><micro>aeaa a?aa<<axaeaaa3/4ai1/4
		       _
	 a3/4ai1/4aeoaaaa(R) SJIS
	 a_axaeaaa"aa i1/4a"a|a(R)e!"c3/4a<section>aaaaaea-
	 a a?aa<<axaeaaa3/4ai1/4

       EUC-JP/ISO-2022-JP
	 a,ao|SJISa^3a1/4aa<<axaeaa|aai1/4Unicode a,aaaa^3a<degree>aa3/4ai1/4
	 aa(R)a"ai1/4SJIS a<section>e!"c_/4a<section>aaaaaea-
	 aa<<a3/4aa|aaa	'ai1/4 aa(R)aeaa ae-
	 Laaaaaa^3a<degree>a<section>aa3/4aai1/4

       DoCoMo i-mode
	 F800 -	F9FF a(R)e aa(R)aa!c<micro><micro>aeaaaa"aae"aai1/4U+0FF800 -
	 U+0FF9FF a(R)e	aa<<aaaa^3a<degree>aa3/4ai1/4

       ASTEL dot-i
	 F000 -	F4FF a(R)e aa(R)aa!c<micro><micro>aeaaaa"aae"aai1/4U+0FF000 -
	 U+0FF4FF a(R)e	aa<<aaaa^3a<degree>aa3/4ai1/4

       J-PHONE J-SKY		      _
	 J-SKY a(R)c<micro><micro>aeaa i1/4a"a^1a+-a1/4aa.a1/4a+-a^3a^1	"\e\$"
	 a(R)a3/4a<<i1/4c<micro><micro>aea1aaxac(R)i1/4
	 1axa>>Ya,a(R)c<micro><micro>aea-
	 2aaxac(R)i1/4"\x0f"i1/4a"c<paragraph>aa3/4ai1/4
	 1aaxac(R)aaac<micro>_<micro>aea-
	 ac<paragraph>aa 'aa i1/42aaxac(R)a(R)a?aeLc<paragraph>aa|ae,aaa"a<section>
	 a<section>c,(R)aaaa"aa<section>aa3/4ai1/4

	 aa(R)1aaxac(R)a"2aaxac(R)a(R)aaca1aeaa"e|aaaa|i1/44500	- 47FF
	 a(R)e aai1/4 U+0FFB00 - U+0FFDFF a(R)e	aa<<aaaa^3a<degree>aa3/4ai1/4
				      _
	 Unicode::Japanese a<section>a i1/4Unicode aa J-SKY
	 c<micro><micro>aeaa<<aaaa^3a<degree>aaa"ai1/4
	 1aaxac(R)aaa,a<section>aaca-
	 aeLc<paragraph>aa|aaa 'aa i1/4a<section>c,(R)a|caeaaca<<e!aa3/4ai1/4

       AU
	 c<micro><micro>aeaaaa"aae"aai1/4U+0FF500 - U+0FF6FF
	 a(R)e aa<<aaaa^3a<degree>aa3/4ai1/4

PurePerl mode
	  use Unicode::Japanese	qw(PurePerl);

       use aea(R)a1/4ae<degree>a<< 'PurePerl' aa,aaaa"a<section>,
       XSaa1/2?aaaaaa"aaecxoca<<a(R)Le"a<section>aa3/4a.

~a~a<degree>	       _
       aa<degree>ae|aea	 "b_g-unicode-japanese at rt.cpan.org" a(R)a<<
       a +-aaa|aa aa. eYaaa
       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Unicode-Japanese>.
       a<<aa web axa^3a?a1/4aa<section>a1/4a^1aaa<section>aaa3/4aa3/4aa.
       aaaac<section>a<<ecYaa,						 _
       aaa|c<section>aaxae'ae!aaa"a<section>a +-ae aaaa<degree>a(R)e^2aea
       eaaca<<aaaaa<<a1/4aaa3/4a.
				_
       o EUC-JPi1/4JIS a^3a1/4aa i1/4SJIS a<<axaeaaa|aa	UTF-8 a,axaeaaaaai1/4
	 SJIS a<sectio_>e!"c3/4a<section>aaaaaeaaa ae-
	 Laaaxaeaaaa"a a<section>aa3/4aai1/4

       o XSaa1/2?c"aa|aaa 'ai1/4EUC-JPi1/4SJIS(c<micro><micro>aea-
	 a<<a)a^3a1/4aa(R)aeaaa,a<< \e aa<<a3/4aaa"i1/4EUC-JPi1/4SJIS
	 a^3a1/4aa(R)axa(R)a<<ax+-aeai1/4 ae-
	 LaaeaaaxaYaaxaeae!aaa"aaoaeYa3/4aai1/4
		      _
       o Japanese.pm a aa!axa<<a3/4aa<<aaxaaaaa<<aaai1/4FTP a(R) ASCII
	 aca1/4aa<section> e>>ceaaa"aa!axa<<aaLaa3/4ai1/4

~a<micro>~a~a1/4~a				_
       aa(R)aca,aYa1/4a<<a(R)aaaYa!a^3aa  perldoc
       a^3aa^3aa<section>e|aaa"aaoaeYa3/4a.

	   perldoc Unicode::Japanese

       a3/4a, a>>Ya,a(R)a 'aea<section>ae|aaa"aaoaeYa3/4a:

       o   AnnoCPAN: Annotated CPAN documentation

	   <http://annocpan.org/dist/Unicode-Japanese>

       o   CPAN	Ratings

	   <http://cpanratings.perl.org/d/Unicode-Japanese>

       o   RT: CPAN's request tracker

	   <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Unicode-Japanese>

       o   Search CPAN

	   <http://search.cpan.org/dist/Unicode-Japanese>

CREDITS
       Thanks very much	to:

       NAKAYAMA	Nao

       SUGIURA Tatsuki & Debian	JP Project

`
       Copyright 2001-2008 SANO	Taku (SAWATARI Mikage) and YAMASHINA Hio, all
       rights reserved.
			      _						   _
       aa(R)aaa<degree>a(C)a a aaaa1/4a1/2aaa|a<section>aca<section>aaaaaaa
       Perl a"aa a(C)axa>>a^3a^1a(R)
       aa<section>aea,aa^3axae'ae!aaa"aaoaeYa3/4a.

perl v5.32.0			  2012-02-10	      Unicode::Japanese::JA(3)

NAME | ae|` | o<I>a~ | ~ | PurePerl mode | CREDITS | `

Want to link to this manual page? Use this URL:
<
https://www.freebsd.org/cgi/man.cgi?query=Unicode::Japanese::JA&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help