You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Intl collator object doesn't handle Tibetan / Dzongkha collation correctly. I've setup a small test on http://eroux.fr/locales.html and the output of Edge 15 on Windows 10 is
varsupportedLocales=Intl.Collator.supportedLocalesOf(['dz','bo']).join(", ");vartibCollator=newIntl.Collator('dz');vartibSortedArray=["ང","རྔ","ལྔ","སྔ","བརྔ","བསྔ","ཅ"];vartibRandomArray=["ལྔ","ང","ཅ","རྔ","སྔ","བརྔ","བསྔ"];vartibResultArray=["ལྔ","ང","ཅ","རྔ","སྔ","བརྔ","བསྔ"];tibResultArray.sort(tibCollator.compare);varresPrint="";console.log("Tibetan/Dzongkha locales advertized as supported for collation: "+supportedLocales);if(JSON.stringify(tibSortedArray)==JSON.stringify(tibResultArray)){console.log("test passed!");}else{console.log("error: "+JSON.stringify(tibRandomArray)+" has been sorted as "+JSON.stringify(tibResultArray)+", should have been "+JSON.stringify(tibSortedArray));}
Hello,
The Intl collator object doesn't handle Tibetan / Dzongkha collation correctly. I've setup a small test on http://eroux.fr/locales.html and the output of Edge 15 on Windows 10 is
May or may not be related to http://bugs.icu-project.org/trac/ticket/13224
The text was updated successfully, but these errors were encountered: