[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
".*utf\\(-?8\\)\\>" versus ".*[._]utf" versus "address@hidden>"
From: |
Paul Eggert |
Subject: |
".*utf\\(-?8\\)\\>" versus ".*[._]utf" versus "address@hidden>" |
Date: |
Wed, 19 Dec 2001 15:38:03 -0800 (PST) |
The regular expression ".*utf\\(-?8\\)\\>" in
locale-charset-language-names seems to be inconsistent with the
regular expression ".*[._]utf" in locale-preferred-coding-systems.
Shouldn't one or the other regular expression (or both) be changed?
I think the regular expression should contain [._]; I'm not so sure
about the \\(-?8\\)\\> part.
Also, locale-charset-language-names ends with this:
("address@hidden>" . "Latin-9")
(".*utf\\(-?8\\)\\>" . "UTF-8")))
Shouldn't the UTF-8 pattern come before the euro pattern and the other
patterns? It seems to me that the current order mishandles locales
like "address@hidden", which are present on Solaris 8.
- ".*utf\\(-?8\\)\\>" versus ".*[._]utf" versus "address@hidden>",
Paul Eggert <=