<i18n dev>  RFR 8209175: Handle 'B' character introduced in CLDR 33 JDK update for Burmese (my) locale
nishit.jain at oracle.com
Fri Feb 22 13:18:23 UTC 2019
Please review the fix for JDK-8209175
Issue: In CLDR 33 update, 'B' character has been added in date time
patterns for Burmese locale, which is used to represent the day period.
This character is not supported in DateTimeFormatter or SimpleDateFormat
APIs, so an exception is thrown that an "unknown character is encountered"
Fix: A workaround is added in which 'B' character appearing in CLDR
date-time pattern is replaced with 'a' character and hence resolved with
am/pm strings. This is based on the LDML specification given for 'B'
character in which it falls back to 'a' character if it is not supported
by any locale.
More information about the i18n-dev