Locale
not canonicalizing tlangs
to lowercase
#1925
Labels
C-locale
Component: Locale identifiers, BCP47
help wanted
Issue needs an assignee
S-medium
Size: Less than a week (larger bug fix or enhancement)
T-bug
Type: Bad behavior, security, privacy
Milestone
Locale
canonicalizestlangs
(the "-t-en-latn" part inside the "en-t-en-latn" locale) incorrectly, preserving the canonicalized case instead of converting all to lowercase.The RFC6497 from the IETF that describes the extension T (and tlangs) specifies on one of its paragraphs:
Emphasis on
Minimized snippet with the bug
Haven't checked if it would be necessary to fix only
Locale::from_bytes
or alsoLocale::canonicalize
andLocaleCanonicalizer::canonicalize
.The text was updated successfully, but these errors were encountered: