diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-31 16:19:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-31 16:19:13 +0000 |
commit | 8a4852225e5d282a2188e5d193a7e81b9749812e (patch) | |
tree | a28d8a3b60f9662ab0e48c8f58ec117c41ec3f02 /ext/I18N | |
parent | a6e45062d7802a3c35e9edb488035c6f4b55b0ae (diff) | |
download | perl-8a4852225e5d282a2188e5d193a7e81b9749812e.tar.gz |
Slight comment tweakage.
p4raw-id: //depot/perl@13984
Diffstat (limited to 'ext/I18N')
-rw-r--r-- | ext/I18N/Langinfo/Langinfo.t | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/ext/I18N/Langinfo/Langinfo.t b/ext/I18N/Langinfo/Langinfo.t index 7c6089acd3..2061b7cddc 100644 --- a/ext/I18N/Langinfo/Langinfo.t +++ b/ext/I18N/Langinfo/Langinfo.t @@ -20,17 +20,20 @@ setlocale(LC_ALL, $ENV{LC_ALL} = $ENV{LANG} = "C"); print "1..1\n"; # We loaded okay. That's about all we can hope for. print "ok 1\n"; exit(0); + # Background: the langinfo() (in C known as nl_langinfo()) interface -# is supposed a to be a portable way to fetch various language dependent -# constants like "the first day of the week" or "the decimal separator". -# Give a portable (numeric) constant, get back a language-specific string. -# That's a comforting fantasy. Now tune in for blunt reality: -# vendors seem to have implemented for those constants whatever they -# felt like defining. The UNIX standard says that one should have -# the RADIXCHAR constant for the decimal separator. Not so for many -# Linux and BSD implementations. One should have the CODESET constant -# for returning the current codeset (say, ISO 8859-1). Not so. -# --jhi +# is supposed to be a portable way to fetch various language/country +# (locale) dependent constants like "the first day of the week" or +# "the decimal separator". Give a portable (numeric) constant, +# get back a language-specific string. That's a comforting fantasy. +# Now tune in for blunt reality: vendors seem to have implemented for +# those constants whatever they felt like implementing. The UNIX +# standard says that one should have the RADIXCHAR constant for the +# decimal separator. Not so for many Linux and BSD implementations. +# One should have the CODESET constant for returning the current +# codeset (say, ISO 8859-1). Not so. So let's give up any real +# testing (leave the old testing code here for old times' sake, +# though.) --jhi my %want = ( |