Question & Answer
Question
What is the difference between en_US.UTF-8, EN_US.UTF-8, and EN_US locales?
Answer
en_US (ISO8859-1)
EN_US (UTF-8)
|
See the complete list of supported locale names:
|
- LC_COLLATE
- Many legacy UTF-8 locales used standard ISO-1 LC_COLLATE definitions, so the "[a-z][A-Z]" range only included ASCII characters. In CLDR source, the "[a-z][A-Z]" range might include many other characters. To ensure an ASCII only collation sequence, use "LC_COLLATE=C"
|
bash-5.1# printf '%b\n' "$(printf '\\U%x\n' {1..127})" | sort |tr -d '\n'
EN_US.UTF-8:
-,;:!?.'"()[]{}@*/\&#%`^+=>|~$0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ en_US.UTF-8:
123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}
|
- LC_TIME
|
bash-5.1# LANG=EN_US.UTF-8;date;LANG=en_US.UTF-8;date
EN_US.UTF-8: Wed May 3 18:37:56 CDT 2023
en_US.UTF-8:
May 3, 2023 at 06:37:56 PM CDT |
- LC_MONETARY
|
bash-5.1# diff -w <(LANG=EN_US.UTF-8;locale -ck LC_MONETARY| sort) <(LANG=en_US.UTF-8;locale -ck LC_MONETARY|sort)
EN_US.UTF-8:
< debit_sign="DB" < credit_sign="CR" < left_parenthesis="(" < right_parenthesis=")" en_US.UTF-8:
> debit_sign="" > credit_sign="" > left_parenthesis="" > right_parenthesis="" |
| SUPPORT |
|---|
|
If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract. 1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue. 2. Capture any logs or data relevant to the situation. 3. Contact IBM to open a case: -For electronic support, see the IBM Support Community: 4. Provide a clear, concise description of the issue. 5. If the system is accessible, collect a system snap, and upload all of the details and data for your case. - For guidance, see: Working with IBM AIX Support: Collecting snap data |
Related Information
Was this topic helpful?
Document Information
Modified date:
03 May 2023
UID
ibm15692220