Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet utf8 natural ordering in browser

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Hi, there is problem with "natural" ordering. In czech language we have č,ě,š,č,ř,ž,ý,á,í,é. For example "č" is after "c". In VirtualDJ is "č" on the end of listing in browser, which is not "natural" order. This behaviour should be detected over locale in OS. Thanks

More is here
http://www.unicode.org/reports/tr10/
https://softwareengineering.stackexchange.com/questions/257286/is-there-any-language-agnostic-specification-for-string-natural-sorting-order

For example in JavaScript there is
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
 

Posté Mon 21 Aug 17 @ 11:07 pm


(Les anciens sujets et forums sont automatiquement fermés)