Date: Wednesday April 10, 2019 @ 02:31 Author: argrath Update of /cvsroot/perldocjp/docs/perl/5.22.1 In directory sf-cvs:/tmp/cvs-serv72187/perl/5.22.1 Modified Files: perllocale.pod Log Message: 5.22.1/perllocale =================================================================== File: perllocale.pod Status: Up-to-date Working revision: 1.2 Tue Apr 9 17:31:21 2019 Repository revision: 1.2 /cvsroot/perldocjp/docs/perl/5.22.1/perllocale.pod,v Existing Tags: No Tags Exist -------------- next part -------------- Index: docs/perl/5.22.1/perllocale.pod diff -u docs/perl/5.22.1/perllocale.pod:1.1 docs/perl/5.22.1/perllocale.pod:1.2 --- docs/perl/5.22.1/perllocale.pod:1.1 Thu Jul 19 20:57:37 2018 +++ docs/perl/5.22.1/perllocale.pod Wed Apr 10 02:31:21 2019 @@ -537,15 +537,14 @@ =end original -Note that all C programs (including the perl interpreter, which is -written in C) always have an underlying locale. That locale is the "C" -locale unless changed by a call to L<setlocale()|/The setlocale -function>. When Perl starts up, it changes the underlying locale to the -one which is indicated by the L</ENVIRONMENT>. When using the L<POSIX> -module or writing XS code, it is important to keep in mind that the -underlying locale may be something other than "C", even if the program -hasn't explicitly changed it. -(TBT) +(C ¤Ç½ñ¤«¤ì¤Æ¤¤¤ë perl ¥¤¥ó¥¿¥×¥ê¥¿¤ò´Þ¤á¤Æ) Á´¤Æ¤Î C ¥×¥í¥°¥é¥à¤Ï +´ð¤È¤Ê¤ë¥í¥±¡¼¥ë¤¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +¤³¤Î¥í¥±¡¼¥ë¤Ï¡¢L<setlocale()|/setlocale ´Ø¿ô> ¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ +Êѹ¹¤µ¤ì¤Ê¤¤¸Â¤ê "C" ¥í¥±¡¼¥ë¤Ç¤¹¡£ +Perl ¤Îµ¯Æ°»þ¡¢¥í¥±¡¼¥ë¤ò L</ENVIRONMENT> ¤Ç¼¨¤µ¤ì¤Æ¤¤¤ë¥í¥±¡¼¥ë¤ËÊѹ¹¤·¤Þ¤¹¡£ +L<POSIX> ¥â¥¸¥å¡¼¥ë¤ò»È¤Ã¤¿¤ê XS ¥³¡¼¥É¤ò½ñ¤¤¤¿¤ê¤¹¤ë¤È¤¡¢ +Î㤨¥×¥í¥°¥é¥à¤¬ÌÀ¼¨Åª¤ËÊѹ¹¤·¤Ê¤¯¤Æ¤â´ð¤È¤Ê¤ë¥í¥±¡¼¥ë¤¬ +"C" ¤Ç¤Ï¤Ê¤¤¤«¤â¤·¤ì¤Ê¤¤¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¤Ï½ÅÍפǤ¹¡£ =for comment The nbsp below makes this look better (though not great) @@ -776,11 +775,10 @@ =end original -Starting in Perl v5.16 in a very limited way, and more generally in -v5.22, you can restrict which category or categories are enabled by this -particular instance of the pragma by adding parameters to it. For -example, -(TBT) +Perl v5.16 ¤«¤é¤È¤Æ¤â¸ÂÄêŪ¤Ê·Á¤Ç¡¢¤½¤·¤Æ v5.22 ¤Ç¤è¤ê°ìÈÌŪ¤Ë¡¢ +°ú¿ô¤ò»ØÄꤹ¤ë¤³¤È¤Ç¤³¤ÎÆÃÄê¤Î¥×¥é¥°¥Þ¤Î¼ÂÂΤˤè¤Ã¤Æ͸ú¤Ë¤Ê¤ë +¥«¥Æ¥´¥ê¤òÀ©¸Â¤Ç¤¤Þ¤¹¡£ +Î㤨¤Ð: use locale qw(:ctype :numeric); @@ -791,9 +789,8 @@ =end original -enables locale awareness within its scope of only those operations -(listed above) that are affected by C<LC_CTYPE> and C<LC_NUMERIC>. -(TBT) +¤Ï¡¢¥¹¥³¡¼¥×Æâ¤Î C<LC_CTYPE> ¤È C<LC_NUMERIC> ¤Ç±Æ¶Á¤ò¼õ¤±¤ë(¾å½Ò¤·¤¿) +±é»»»Ò¤ËÂФ·¤Æ¤À¤±¥í¥±¡¼¥ë¤ò͸ú¤Ë¤·¤Þ¤¹¡£ =begin original @@ -803,10 +800,9 @@ =end original -The possible categories are: C<:collate>, C<:ctype>, C<:messages>, -C<:monetary>, C<:numeric>, C<:time>, and the pseudo category -C<:characters> (described below). -(TBT) +»ØÄê¤Ç¤¤ë¥«¥Æ¥´¥ê¤Ï: C<:collate>, C<:ctype>, C<:messages>, +C<:monetary>, C<:numeric>, C<:time> ¤ª¤è¤Óµ¿»÷¥«¥Æ¥´¥ê +C<:characters> (¸å½Ò¤·¤Þ¤¹) ¤Ç¤¹¡£ =begin original @@ -814,8 +810,7 @@ =end original -Thus you can say -(TBT) +½¾¤Ã¤Æ¼¡¤Î¤è¤¦¤Ë½ñ¤¯¤È: use locale ':messages'; @@ -826,9 +821,9 @@ =end original -and only L<$!|perlvar/$ERRNO> and L<$^E|perlvar/$EXTENDED_OS_ERROR> -will be locale aware. Everything else is unaffected. -(TBT) +L<$!|perlvar/$ERRNO> ¤È L<$^E|perlvar/$EXTENDED_OS_ERROR> ¤Î¤ß¤¬ +¥í¥±¡¼¥ë¤Î±Æ¶Á¤ò¼õ¤±¤Þ¤¹¡£ +¤½¤ì°Ê³°Á´¤Æ¤Ï±Æ¶Á¤ò¼õ¤±¤Þ¤»¤ó¡£ =begin original @@ -840,12 +835,11 @@ =end original -Since Perl doesn't currently do anything with the C<LC_MONETARY> -category, specifying C<:monetary> does effectively nothing. Some -systems have other categories, such as C<LC_PAPER_SIZE>, but Perl -also doesn't know anything about them, and there is no way to specify -them in this pragma's arguments. -(TBT) +Perl ¤Ïº£¤Î¤È¤³¤í C<LC_MONETARY> ¥«¥Æ¥´¥ê¤ËÂФ·¤Æ²¿¤â¤·¤Ê¤¤¤Î¤Ç¡¢ +C<:monetary> ¤ò»ØÄꤷ¤Æ¤â»ö¼Â¾å²¿¤â¤·¤Þ¤»¤ó¡£ +¥·¥¹¥Æ¥à¤Ë¤è¤Ã¤Æ¤Ï C<LC_PAPER_SIZE> ¤Î¤è¤¦¤Ê¤½¤Î¾¤Î¥«¥Æ¥´¥ê¤ò»ý¤Á¤Þ¤¹¤¬¡¢ +Perl ¤Ï¤³¤ì¤é¤Ë¤Ä¤¤¤Æ¤â²¿¤âÃΤ餺¡¢¤³¤Î¥×¥é¥°¥Þ¤Î°ú¿ô¤È¤·¤Æ¤³¤ì¤ò»ØÄꤹ¤ë +ÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£ =begin original @@ -854,9 +848,8 @@ =end original -You can also easily say to use all categories but one, by either, for -example, -(TBT) +Î㤨¤Ð¡¢¼¡¤Î¤É¤Á¤é¤«¤Î¤è¤¦¤Ë¤·¤Æ¡¢°ì¤Ä°Ê³°¤ÎÁ´¤Æ¤Î¥«¥Æ¥´¥ê¤ò»È¤¦¤è¤¦¤Ë +´Êñ¤Ë»ØÄê¤Ç¤¤Þ¤¹; use locale ':!ctype'; use locale ':not_ctype'; @@ -869,10 +862,8 @@ =end original -both of which mean to enable locale awarness of all categories but -C<LC_CTYPE>. Only one category argument may be specified in a -S<C<use locale>> if it is of the negated form. -(TBT) +¤³¤ÎξÊý¤Ï¡¢C<LC_CTYPE> °Ê³°¤ÎÁ´¤Æ¤Î¥«¥Æ¥´¥ê¤Ç¥í¥±¡¼¥ë¤ò͸ú¤Ë¤·¤Þ¤¹¡£ +ÈóÄê·¿¼°¤ò»È¤¦¾ì¹ç¤Ë S<C<use locale>> ¤Ç»ØÄê¤Ç¤¤ë°ú¿ô¤Ï°ì¤Ä¤À¤±¤Ç¤¹¡£ =begin original @@ -880,8 +871,7 @@ =end original -Prior to v5.22 only one form of the pragma with arguments is available: -(TBT) +v5.22 ¤è¤êÁ°¤Ï¡¢°ú¿ôÉÕ¤¤Î¥×¥é¥°¥Þ¤Ï¼¡¤Î°ì¤Ä¤À¤±¤¬ÍøÍѲÄǽ¤Ç¤¹: use locale ':not_characters'; @@ -894,11 +884,10 @@ =end original -(and you have to say C<not_>; you can't use the bang C<!> form). This -pseudo category is a shorthand for specifying both C<:collate> and -C<:ctype>. Hence, in the negated form, it is nearly the same thing as -saying -(TBT) +(¤½¤·¤Æ C<not_> ¤È½ñ¤«¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó; C<!> ·¿¼°¤Ï»È¤¨¤Þ¤»¤ó)¡£ +¤³¤Îµ¿»÷¥«¥Æ¥´¥ê¤Ï¡¢C<:collate> ¤È C<:ctype> ¤ÎξÊý¤ò»ØÄꤹ¤ë¤³¤È¤Î +¾Êά·Á¤Ç¤¹¡£ +½¾¤Ã¤Æ¡¢ÈÝÄê·¿¼°¤Ç¤Ï¡¢¼¡¤Î¤â¤Î¤È¤Û¤ÜƱ¤¸¤Ç¤¹: use locale qw(:messages :monetary :numeric :time); @@ -918,8 +907,8 @@ =end original -We use the term "nearly", because C<:not_characters> also turns on -S<C<use feature 'unicode_strings'>> within its scope. +¤³¤³¤Ç¤Ï¡Ö¤Û¤Ü¡×¤È¤¤¤¦¸ÀÍÕ¤ò»È¤¤¤Þ¤·¤¿; ¤Ê¤¼¤Ê¤é C<:not_characters> ¤Ï +¥¹¥³¡¼¥×Æâ¤Î S<C<use feature 'unicode_strings'>> ¤â͸ú¤Ë¤¹¤ë¤«¤é¤Ç¤¹¡£ ¤³¤Î·¿¼°¤Ï v5.20 °Ê¹ß¤Ç¤Ï¤½¤ì¤Û¤ÉÍÍѤǤϤʤ¯¤Ê¤ê¤Þ¤·¤¿¤¬¡¢ (´°Á´¤Êµ½Ò¤Ï L</Unicode and UTF-8> ¤Ë ¤¢¤ê¤Þ¤¹¤¬)´Êñ¤Ë¸À¤¦¤È¡¢¥í¥±¡¼¥ëÄêµÁ¤Î¤¦¤Áʸ»ú¤Ë´Ø¤¹¤ëÉôʬ¡¢¤Ä¤Þ¤ê @@ -930,7 +919,6 @@ ¤¹¤Ç¤Ë¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹)¡£ L</Unicode and UTF-8> ¤Ëµ½Ò¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ë¡¢¤³¤ì¤ò¹Ô¤¦¤¿¤á¤ÎÊØÍø¤ÊÊýË¡¤¬ ¤¢¤ê¤Þ¤¹¡£ -(TBT) =head2 The setlocale function @@ -979,10 +967,9 @@ =end original -This simultaneously affects all threads of the program, so it may be -problematic to use locales in threaded applications except where there -is a single locale applicable to all threads. -(TBT) +¤³¤ì¤Ï¤³¤Î¥×¥í¥°¥é¥à¤ÎÁ´¤Æ¤Î¥¹¥ì¥Ã¥É¤ËƱ»þ¤Ë±Æ¶Á¤¹¤ë¤Î¤Ç¡¢ +Á´¤Æ¤Î¥¹¥ì¥Ã¥É¤Çñ°ì¤Î¥í¥±¡¼¥ë¤ò¼õ¤±ÉÕ¤±¤ë¤Î¤Ç¤Ê¤¤¸Â¤ê¡¢ +¥¹¥ì¥Ã¥É²½¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¥í¥±¡¼¥ë¤ò»È¤¦¤Î¤ÏÌäÂ꤬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ =begin original @@ -1080,9 +1067,8 @@ =end original -Note that when a form of C<use locale> that doesn't include all -categories is specified, Perl ignores the excluded categories. -(TBT) +Á´¤Æ¤Î¥«¥Æ¥´¥ê¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤·¿¼°¤Î C<use locale> ¤Ç¤Ï¡¢ +Perl ¤Ï½ü³°¤µ¤ì¤¿¥«¥Æ¥´¥ê¤ò̵»ë¤¹¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ =begin original @@ -1673,10 +1659,8 @@ =end original -Note that if the platform doesn't have C<LC_NUMERIC> and/or -C<LC_MONETARY> available or enabled, the corresponding elements of the -hash will be missing. -(TBT) +¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç C<LC_NUMERIC> ¤ä C<LC_MONETARY> ¤¬ÍøÍѲÄǽ¤Ç¤¢¤Ã¤¿¤ê +͸ú¤Ç¤¢¤Ã¤¿¤ê¤·¤Ê¤¤¾ì¹ç¡¢¥Ï¥Ã¥·¥å¤ÎÂбþ¤¹¤ëÍ×ÁǤϤ¢¤ê¤Þ¤»¤ó¡£ =head2 I18N::Langinfo @@ -2027,10 +2011,8 @@ C<POSIX::ispunct()> ¥¯¥é¥¹¤«¤é C<POSIX::isalpha()> ¥¯¥é¥¹¤Ë°ÜÆ°¤¹¤ë¤Î¤Ç¤¹¡£ »ÄÇ°¤Ê¤¬¤é¡¢¤³¤ì¤ÏÀµµ¬É½¸½¤Ë´Ø¤·¤ÆÂ礤ÊÌäÂê¤òµ¯¤³¤·¤Þ¤¹¡£ "|" ¤Ï¡¢¤¿¤È¤¨ C<\w> ¤Ë¥Þ¥Ã¥Á¥ó¥°¤·¤Æ¤âÂåÂؤò°ÕÌ£¤·¤¿¤Þ¤Þ¤Ç¤¹¡£ -Starting in v5.22, a -warning will be raised when such a locale is switched into. More -details are given several paragraphs further down. -(TBT) +v5.22 ¤«¤é¡¢¤³¤Î¤è¤¦¤Ê¥í¥±¡¼¥ë¤ËÀÚ¤êÂؤ¨¤é¤ì¤ë¤È·Ù¹ð¤¬½ÐÎϤµ¤ì¤Þ¤¹¡£ +¤µ¤é¤Ê¤ë¾ÜºÙ¤Ï¿ôÃÊÍî¸å¤Ëµ¤·¤Þ¤¹¡£ =begin original @@ -2060,11 +2042,10 @@ Âбþ¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï¤Ä¤Þ¤ê¡¢¥¢¥¸¥¢¸À¸ì¤Î¤è¤¦¤Ê¥ï¥¤¥Éʸ»ú¥í¥±¡¼¥ë¤Ë¤Ï ¤¦¤Þ¤¯Âбþ¤·¤Æ¤¤¤Ê¤¤¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ -(If the platform has the capability -for Perl to detect such a locale, starting in Perl v5.22, -L<Perl will warn, default enabled|warnings/Category Hierarchy>, -using the C<locale> warning category, whenever such a locale is switched -into.) +(¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤¬ Perl ¤Ë¤³¤Î¤è¤¦¤Ê¥í¥±¡¼¥ë¤ò¸¡½Ð¤¹¤ëǽÎϤò +Í¿¤¨¤Æ¤¤¤ë¾ì¹ç¡¢Perl v5.22 ¤«¤é¡¢¤½¤Î¤è¤¦¤Ê¥í¥±¡¼¥ë¤ËÀÚ¤êÂؤ¨¤ë¤È¡¢ +C<locale> ·Ù¹ð¥«¥Æ¥´¥ê¤ò»È¤Ã¤Æ +L<Perl ¤Ï·Ù¹ð¤·¡¢¥Ç¥Õ¥©¥ë¥È¤ò͸ú¤Ë¤·¤Þ¤¹|warnings/Category Hierarchy>¡£) UTF-8 ¥í¥±¡¼¥ëÂбþ¤Ï¼ÂºÝ¤Ë¤Ï POSIX ¥í¥±¡¼¥ë¤Î¾å°Ì½¸¹ç¤Ç¤¹; C<LC_CTYPE> ¥í¥±¡¼¥ë¤Î±Æ¶Á¤ò°ìÀÚ¼õ¤±¤Ê¤¤´°Á´¤Ê Unicode ¤Î¿¶¤ëÉñ¤¤¤À¤«¤é¤Ç¤¹ (Îã³°¤Ï±øÀ÷¤Ç¤¹; L</SECURITY> ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£ @@ -2078,7 +2059,6 @@ ¥ê¥ê¡¼¥¹ v5.16 ¤È v5.18 ¤Ç¤Ï¡¢C<S<use locale 'not_characters>> ¤¬ ¤³¤ì¤Î²óÈòºö¤È¤·¤Æ»È¤ï¤ì¤Æ¤¤¤Þ¤·¤¿ (L</Unicode and UTF-8> ¤ò »²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£ -(TBT) =begin original @@ -2095,15 +2075,15 @@ =end original ¸½ºß¤Î¥í¥±¡¼¥ë¤Ë¤è¤Ã¤Æ±Æ¶Á¤ò¼õ¤±¤Ê¤¤¤â¤Î¤â¤¤¤¯¤Ä¤«¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ -Any literal character is the native character for the -given platform. Hence 'A' means the character at code point 65 on ASCII -platforms, and 193 on EBCDIC. That may or may not be an 'A' in the -current locale, if that locale even has an 'A'. +¤¢¤é¤æ¤ë¥ê¥Æ¥é¥ëʸ»ú¤ÏÍ¿¤¨¤é¤ì¤¿¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¥Í¥¤¥Æ¥£¥Ö¤Êʸ»ú¤Ç¤¹¡£ +½¾¤Ã¤Æ 'A' ¤Ï ASCII ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï Éä¹æ°ÌÃÖ 65 ¤Ç¡¢ +EBCDIC ¤Ç¤Ï 193 ¤Ç¤¹¡£ +¤³¤ì¤Ï¡¢Î㤨¸½ºß¤Î¥í¥±¡¼¥ë¤Ë 'A' ¤¬¤¢¤Ã¤Æ¤â¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Ç +'A' ¤«¤â¤·¤ì¤Þ¤»¤ó¤·¤½¤¦¤Ç¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ƱÍͤˡ¢Î㤨¤Ð C<\n> ¤Î¤è¤¦¤Ê¡¢ÆÃÄê¤Îʸ»ú¤Î¤¿¤á¤Î¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹Á´¤Æ¤Ï¡¢ ¾ï¤Ë¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ë¥Í¥¤¥Æ¥£¥Ö¤Ê¤â¤Î¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢Î㤨¤Ð¡¢Àµµ¬É½¸½Ãæ¤Î C<\N> (²þ¹Ô°Ê³°¤ÎÁ´¤Æ¤Îʸ»ú) ¤Ï¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Î ʸ»ú½¸¹ç¤ËÂФ·¤ÆÆ°ºî¤·¤Þ¤¹¡£ -(TBT) =begin original @@ -2122,19 +2102,19 @@ =end original -Starting in v5.22, Perl will by default warn when switching into a -locale that redefines any ASCII printable character (plus C<\t> and -C<\n>) into a different class than expected. This is likely to -happen on modern locales only on EBCDIC platforms, where, for example, -a CCSID 0037 locale on a CCSID 1047 machine moves C<"[">, but it can -happen on ASCII platforms with the ISO 646 and other -7-bit locales that are essentially obsolete. Things may still work, -depending on what features of Perl are used by the program. For -example, in the example from above where C<"|"> becomes a C<\w>, and -there are no regular expressions where this matters, the program may -still work properly. The warning lists all the characters that -it can determine could be adversely affected. -(TBT) +v5.22 ¤«¤é¡¢Perl ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢ +Ǥ°Õ¤Î ASCII ɽ¼¨Ê¸»ú (¤Ë²Ã¤¨¤Æ C<\t> ¤È C<\n>) ¤òÁÛÄê¤È°Û¤Ê¤ë¥¯¥é¥¹¤Ë +ºÆÄêµÁ¤¹¤ë¥í¥±¡¼¥ë¤ËÀÚ¤êÂؤ¨¤ë¤È¤¤Ë·Ù¹ð¤·¤Þ¤¹¡£ +¤³¤ì¤Ï EBCDIC ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤ÎºÇ¶á¤Î¥í¥±¡¼¥ë¤Ç¤Î¤ßµ¯¤³¤ë¤Ç¤·¤ç¤¦; +¤³¤³¤Ç¡¢Î㤨¤Ð¡¢ +CCSID 1047 ¥Þ¥·¥ó¤Ç¤Î CCSID 0037 ¥í¥±¡¼¥ë¤Ï C<"["> ¤òÆ°¤«¤·¤Þ¤¹; +¤·¤«¤·¡¢ISO 646 ¤Î ASCII ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤È¡¢ËܼÁŪ¤Ë¸Å¤¤ 7 ¥Ó¥Ã¥È +¥í¥±¡¼¥ë¤Ç¤âµ¯¤¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ +Perl ¤Î¤É¤Îµ¡Ç½¤ò¥×¥í¥°¥é¥à¤Ç»È¤ï¤ì¤Æ¤¤¤ë¤«¤Ë¤è¤Ã¤Æ¤Þ¤À +Æ°ºî¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ +Î㤨¤Ð¡¢Á°½Ò¤ÎÎã¤Ç C<"|"> ¤¬ C<\w> ¤Ë¤Ê¤ê¡¢´Ø·¸¤¹¤ëÉôʬ¤ÇÀµµ¬É½¸½¤¬¤Ê¤¤¾ì¹ç¡¢ +¥×¥í¥°¥é¥à¤ÏŬÀÚ¤ËÆ°ºî¤·¤Þ¤¹¡£ +¤³¤Î·Ù¹ð¤Ï¡¢µÕ¤Ë±Æ¶Á¤µ¤ì¤ë¤È·èÄꤵ¤ì¤ëÁ´¤Æ¤Îʸ»ú¤Î°ìÍ÷¤Ç¤¹¡£ =begin original @@ -3087,8 +3067,7 @@ =end original -You could also exclude C<LC_NUMERIC>, if you don't need it, by -(TBT) +¤â¤·ÉÔÍפʤ鼡¤Î¤è¤¦¤Ë¤·¤Æ C<LC_NUMERIC> ¤ò½ü³°¤Ç¤¤Þ¤¹: use locale ':!numeric'; @@ -3118,7 +3097,7 @@ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢Perl ¤Ïº£¤Ç¤â¤³¤Î¤è¤¦¤ËÆ°ºî¤¹¤ë¤Î¤Ç¡¢²áµî¸ß´¹À¤¬¤¢¤ê¤Þ¤¹¡£ Perl ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¥í¥±¡¼¥ë¾ðÊó¤ËÃíÌܤ¹¤ë¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ê¤é¡¢ S<C<use locale>> ¥×¥é¥°¥Þ(L<The "use locale" pragma> ¤ò»²¾È)¤¢¤ë¤¤¤Ï¡¢ -¤¢¤Þ¤ê¤Ê¤µ¤½¤¦¤Ê¾åµþ¤Ç¤¹¤¬Ã±¤ËÀµµ¬É½¸½¤Ç¤½¤¦¤·¤¿¤¤¤Ê¤é¡¢C</l> Àµµ¬É½¸½½¤¾þ»Ò +¤¢¤Þ¤ê¤Ê¤µ¤½¤¦¤Ê¾õ¶·¤Ç¤¹¤¬Ã±¤ËÀµµ¬É½¸½¤Ç¤½¤¦¤·¤¿¤¤¤Ê¤é¡¢C</l> Àµµ¬É½¸½½¤¾þ»Ò (L<perlre/Character set modifiers> »²¾È) ¤ò B<»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó>¡£ =begin original @@ -3572,11 +3551,10 @@ =end original -Because of all these problems, starting in v5.22, Perl will raise a -warning if a multi-byte (hence Unicode) code point is used when a -single-byte locale is in effect. (Although it doesn't check for this if -doing so would unreasonably slow execution down.) -(TBT) +¤³¤ì¤éÁ´¤Æ¤ÎÌäÂê¤Î¤¿¤á¤Ë¡¢v5.22 ¤«¤é¡¢Perl ¤Ïñ°ì¥Ð¥¤¥È¥í¥±¡¼¥ë¤¬Í¸ú¤Î¤È¤¤Ë +¥Þ¥ë¥Á¥Ð¥¤¥È(¤Ä¤Þ¤ê Unicode) Éä¹æ°ÌÃÖ¤¬»È¤ï¤ì¤ë¤È·Ù¹ð¤ò½ÐÎϤ·¤Þ¤¹¡£ +(¤·¤«¤·¤³¤Î¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤Ï¤·¤Þ¤»¤ó; ¤½¤¦¤¹¤ë¤È¼Â¹Ô®ÅÙ¤¬ÉÔÅö¤Ë +ÃÙ¤¯¤Ê¤ë¤«¤é¤Ç¤¹¡£) =begin original @@ -3719,7 +3697,7 @@ Translate: KIMURA Koichi Update: SHIRAKATA Kentaro <argra****@ub32*****> (5.8.8-) -Status: in progress +Status: completed =end meta