Bug 96795 - Android: Viewer Incorrect alphabetical sort order in file-list with utf-8 (e.g. Turkish) filenames
Summary: Android: Viewer Incorrect alphabetical sort order in file-list with utf-8 (e....
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-29 14:05 UTC by Faruk Uzun
Modified: 2018-04-23 02:04 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Faruk Uzun 2015-12-29 14:05:25 UTC
Libreoffice Viewer is sorting files incorrectly when filenames with utf-8 characters involved.

For instance I have 4 files in my Documents folder, which are, alphabetically;

P1.odt
S1.doc
Ş1.ppt
T1.xls

Viewer is [a-z] sorting them like;

P1.odt
S1.doc
T1.xls
Ş1.ppt

Libreoffice Viewer always places files starting with special chars like "İ, Ğ, Ö, Ç, Ü, Ö" at the end when [a-z] sorting them out and vice versa.

Platform(s):
Android Viewer: 5.2.0.0.aplha0+
CyanogenMod: 13
Comment 1 QA Administrators 2017-03-06 14:29:27 UTC Comment hidden (obsolete)
Comment 2 Commit Notification 2018-04-18 23:31:48 UTC
Mert Tümer committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fc5d185bdb0f27bc6014d47338740f741ac05d21

tdf#96795: Use locale-sensitive sorting in Android viewer

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.