快速登录:  

Forum: VirtualDJ Technical Support

话题: utf8 natural ordering in browser

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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
 

发表时间 Mon 21 Aug 17 @ 11:07 pm


(陈旧帖子或论坛版块会自动关闭)