The result of "Sorted by Title" is wrong

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
16 years ago
10 months ago

People

(Reporter: kazhik, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
The result of "Sorted by Title" is wrong. It seems Mozilla
compares titles byte by byte, from lower byte to upper byte.

The current result of sorting is:

ord. string bytes
 1    B     42 00
 2    BC    42 00 43 00
 3    <A>   42 30          // "A" in Japanese
 4    C     43 00
 5    C<A>  43 00 42 30
 6    CD    43 00 44 00

But it should be:

ord. string int16s(UCS2s)
 1    B     0x0042
 2    BC    0x0042 0x0043
 3    C     0x0043
 4    CD    0x0043 0x0044
 5    C<A>  0x0043 0x3042
 6    <A>   0x3042
(Reporter)

Comment 1

16 years ago
Build: 2003041205-trunk/Linux

Original report in Bugzilla-jp:
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=3077
Assignee: bross2 → nobody
QA Contact: chrispetersen → history.global
Component: History: Global → Bookmarks & History
Product: Core → Firefox
I've just tested this on Firefox Nightly 60.0 on Mac, when I sort by name, I get the expected results
Status: NEW → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.