summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorPhilip Newton <pne@cpan.org>2002-06-11 08:28:08 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-11 03:27:24 +0000
commitfca394fcca6f8b19f183027c66da8a99bb43312d (patch)
treea178a7f6c9fc3030298a33a6459676ad69a901aa /locale.c
parentec71e7703a2a0c5dfad1dd7ebe4daee483e3fcd7 (diff)
downloadperl-fca394fcca6f8b19f183027c66da8a99bb43312d.tar.gz
Detype locale.c comment
Message-ID: <b0vagu8197d5jn2c5pt8al97loreugl9e5@4ax.com> p4raw-id: //depot/perl@17181
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale.c b/locale.c
index bb497bcb3f..0986614794 100644
--- a/locale.c
+++ b/locale.c
@@ -475,14 +475,14 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
#ifdef USE_PERLIO
{
- /* Set PL_wantut8 to TRUE if using PerlIO _and_
+ /* Set PL_wantutf8 to TRUE if using PerlIO _and_
any of the following are true:
- nl_langinfo(CODESET) contains /^utf-?8/i
- $ENV{LANGUAGE} contains /^utf-?8/i (only if using glibc)
- $ENV{LC_CALL} contains /^utf-?8/i
- $ENV{LC_CTYPE} contains /^utf-?8/i
- $ENV{LANG} contains /^utf-?8/i
- If PL_wantutf8 is true the perl.c:S_parse_body()
+ If PL_wantutf8 is true, perl.c:S_parse_body()
will turn on the PerlIO :utf8 discipline on STDIN, STDOUT,
STDERR, _and_ the default open discipline.
*/