Go to file
jungshik 4ed35d7bb5
ICU-20140 Allow duplicated keys in U-extension per RFC 6067 (#136)
* ICU-20140 Allow duplicated keys in U-extension per RFC 6067

RFC 6067 [1] does allow duplicate keywords, but ICU4C's
uloc_forLanguageCode rejects it as invalid.

Change it to accept duplicate keywords and honor only the
1st one while ignoring subsequent ones per RFC 6067.

[1] Unicode extension to BCP 47:
    https://tools.ietf.org/html/rfc6067

* ICU-20140 Add ICU4J test and tweak ICU4C test

ICU4J test diverges from ICU4C tests:

1. Handling of duplicate variants in ICU4J seem to be wrong:
   https://unicode-org.atlassian.net/browse/ICU-20148
2. ULocale.forLanguageTag only throws NullPointException so
   that ICU4C's test for duplicate attributes cannot be ported.
2018-09-27 14:27:40 -07:00
.github ICU-20003 add a PR template (#27) 2018-09-27 14:27:37 -07:00
icu4c ICU-20140 Allow duplicated keys in U-extension per RFC 6067 (#136) 2018-09-27 14:27:40 -07:00
icu4j ICU-20140 Allow duplicated keys in U-extension per RFC 6067 (#136) 2018-09-27 14:27:40 -07:00
tools ICU-20119 BRS63 Currency numeric code data update - VES and UYW (#126) 2018-09-27 14:27:40 -07:00
vendor/double-conversion ICU-20053 Adding back double-conversion .gitignore 2018-09-27 14:27:38 -07:00
.appveyor.yml ICU-20032 re-enable Travis (#10) 2018-09-27 14:27:37 -07:00
.gitattributes ICU-20017 Fix line endings in Visual Studio *.props files. (#101) 2018-09-27 14:27:39 -07:00
.gitignore ICU-8966 ICU-12850 add API/data/code for text layout properties InPC, InSC, vo (#92) 2018-09-27 14:27:39 -07:00
.travis.yml ICU-20119 Small refactor to ICU4J travis file. 2018-09-27 14:27:39 -07:00
README.md ICU-20033 Add a top-level README.md (#11) 2018-09-27 14:27:37 -07:00

International Components for Unicode

This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.

ICU Logo

Build Status

Build Status
TravisCI Build Status
Win x64 Release Build status
Win x86 Release Build status

Subdirectories and Information

License

Please see ./icu4c/LICENSE (C and J are under an identical license file.)

Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License