ICU-22877 revised "Region code" (formerly "Country code") section

This commit is contained in:
Chris Chapman 2024-08-29 14:08:35 -07:00 committed by Christopher Chapman
parent 4ef58328d0
commit 46712bff3d

View file

@ -97,17 +97,20 @@ The optional four-letter script code follows the language code. If specified, it
should be a valid script code as listed on the
[Unicode ISO 15924 Registry](https://www.unicode.org/iso15924/iso15924-codes.html).
### Country code
### Region code
There are often different language conventions within the same language. For
example, Spanish is spoken in many countries in Central and South America but
the currencies are different in each country. To allow for these differences
among specific geographical, political, or cultural regions, locales are
specified by two-letter, uppercase codes. For example, "ES" represents Spain and
"MX" represents Mexico. The two letter country code uses the
[ISO-3166](https://www.iso.org/iso-3166-country-codes.html) standard.
Java supports two letter country codes that uses ISO-3166 and UN M.49 code.
among specific geographical, political, or cultural regions, locales follow
the [BCP 47](https://www.rfc-editor.org/info/bcp47) convention of specifying
regions by using two-letter-uppercase
[ISO-3166](https://www.iso.org/iso-3166-country-codes.html) or three-digit
[UN M.49](https://unstats.un.org/unsd/methodology/m49/) codes. For example,
"ES" represents Spain, "MX" represents Mexico, and "419" represents Latin America
and the Caribbean. For more information, please see the
[unicode_region_subtag](https://www.unicode.org/reports/tr35/#unicode_region_subtag_validity)
section of the [Locale Data Markup Language](https://www.unicode.org/reports/tr35/).
### Variant code