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/

Environment

Status

Assignee

Jungshik Shin

Reporter

TracBot

Labels

Time Needed

Days

tracCc

emmons,jungshik,mark,markus,yoshito

tracCreated

Sep 10, 2012, 10:55 PM

tracOwner

roubert

tracProject

ICU4C

tracReporter

cira@1d5920f4b44b27a8

tracStatus

accepted

tracWeeks

0.5

Components

Fix versions

Priority

major