Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.15, 6.8
-
None
Description
let strings = ["华数酷喵 ","芒果TV车载版 ", "哔哩哔哩 ", "车鱼视听 ", "爱奇艺 ", "唱吧 ", "USB", "C", "B", "A"];
strings.sort(function(a, b)
{ var titleA = a var titleB = b return titleA.localeCompare(titleB, "zh-CN"); });
console.log(strings)
expected output and web browser output
["爱奇艺", "哔哩哔哩", "唱吧", "车鱼视听", "华数酷喵", "芒果TV车载版", "A", "B", "C", "USB"]
qml output
[A,B,C,USB,芒果TV车载版,爱奇艺,车鱼视听,唱吧,哔哩哔哩,华数酷喵]
Attachments
Issue Links
- is blocked by
-
QTBUG-56835 Extend V4 to support ECMA-402's internationalization APIs for JavaScript
- Reported