BCP 47: duplicate U extension keywords are rejected as invalid by ICU4C. ICU4J is fine with it

Description

Spun off from Ecma 402 bug 262 , ICU4J does allows duplicate keywords in U-extension of BCP 47 per RFC 6067 while ICU4C does not.

ICU4C's behavior should match ICU4J's. Note that RFC 6067 does allow duplicate keywords. The second or later one is ignored, while the first one is honored.

I can work on this.

Activity

Show:

Jungshik Shin 
September 18, 2018 at 9:59 AM

PR is https://github.com/unicode-org/icu/pull/136 .
It'd be great if I could be assigned and status can be changed to accepted.

Yoshito Umaoka 
September 13, 2018 at 10:02 PM

> I can work on this.

Thanks. I can review once you create a PR.

Fixed

Details

Assignee

Reporter

Priority

Fix versions

Created September 13, 2018 at 7:45 PM
Updated September 19, 2018 at 1:49 AM
Resolved September 19, 2018 at 1:49 AM