Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: utf8 natural ordering in browser

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

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
 

geposted Mon 21 Aug 17 @ 11:07 pm


(Alte Themen und Foren werden automatisch geschlossen)