unicode-org / unicodetools

home of unicodetools and https://util.unicode.org JSPs
https://util.unicode.org
Other
51 stars 39 forks source link

Issue when script codes are ahead of ICU #94

Open srl295 opened 3 years ago

srl295 commented 3 years ago
Caused by: com.ibm.icu.impl.IllegalIcuArgumentException: Invalid name: Ougr
    at com.ibm.icu.lang.UCharacter.getPropertyValueEnum (UCharacter.java:5176)
    at org.unicode.jsp.ScriptTester$ScriptExtensions$MyHandler.handleLine (ScriptTester.java:282)
    at org.unicode.jsp.FileUtilities$SemiFileReader.process (FileUtilities.java:97)
    at org.unicode.jsp.FileUtilities$SemiFileReader.process (FileUtilities.java:45)
    at org.unicode.jsp.ScriptTester$ScriptExtensions.make (ScriptTester.java:300)
    at org.unicode.jsp.ScriptTester.<clinit> (ScriptTester.java:325)
    at org.unicode.jsp.XPropertyFactory.<init> (XPropertyFactory.java:147)
    at org.unicode.jsp.XPropertyFactory.make (XPropertyFactory.java:39)
    at org.unicode.jsp.UnicodeUtilities.<clinit> (UnicodeUtilities.java:247)
    at org.unicode.jsp.UnicodeJsp.showPropsTable (UnicodeJsp.java:168)
    at org.apache.jsp.properties_jsp._jspService (properties_jsp.java:208)

seen in #93 while working on #88

markusicu commented 2 years ago

With the recent CLDR update for script metadata, there are now two scripts for Unicode 15 that are not yet in ICU. Once the Unicode Tools use the new CLDR snapshot from today, this issue should resurface.