We're updating the issue view to help you get more done. 

ICU4C: Locale canonicalization should take Preferred-Value into consideration

Description

When using uloc_toLanguageTag/fromLanguageTag de-DD stays de-DD, instead of becoming de-DE.

RFC 5646 section 4.5, and step 3 of that section says "Subtags are replaced by their 'Preferred-Value', if there is one." The entry for region DD in the IANA Language Subtag Registry has Preferred-Value DE.

http://tools.ietf.org/html/rfc5646#section-4.5
http://www.iana.org/assignments/language-subtag-registry/

Status

Assignee

Jungshik Shin

Reporter

TracBot

Labels

Reviewer

None

Time Needed

Days

Start date

None

Components

Fix versions

Priority

major