Modify

Opened 4 years ago

Last modified 4 years ago

#19452 new enhancement

Chinese characters cannot be sorted alphabetically by pinyin

Reported by: ff5722 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open a list containing items in Chinese characters, either the suggestions box or tags on objects

What is the expected result?

Tags are shown alphabetically by pinyin as is generally used

What happens instead?

Tags are merely grouped per character but not sorted overall. They don't seem to be sorted by stroke order either (which is another method for sorting Chinese).

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-06-02 08:27:29 +0200 (Tue, 02 Jun 2020)
Build-Date:2020-06-02 11:11:35
Revision:16538
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16538 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 857 MB / 2709 MB (355 MB allocated, but free)
Java version: 1.8.0_251-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35405)
+ ImportImagePlugin (35248)
+ SimplifyArea (35405)
+ apache-commons (35362)
+ apache-http (35092)
+ buildings_tools (35474)
+ ejml (35313)
+ geotools (35169)
+ importvec (35248)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ log4j (35092)
+ mapwithai (1.5.5)
+ opendata (35405)
+ reverter (35474)
+ terracer (35327)
+ utilsplugin2 (35476)

Tagging presets:
+ E:\Box Sync\Documents\Openstreetmap\JOSM presets\BridgeLayerPreset.xml
+ E:\Box Sync\Documents\Openstreetmap\JOSM presets\CellTower.xml
+ E:\Box Sync\Documents\Openstreetmap\JOSM presets\Reservoir.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
- E: Communication with OSM server failed - null
- W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
- W: JOSM expected to find primitive [way -119662] in dataset but it is not there. Please report this at https://josm.openstreetmap.de. This is not a critical error, it should be safe to continue in your work.
- E: java.lang.Exception
- W: JOSM expected to find primitive [way -119937] in dataset but it is not there. Please report this at https://josm.openstreetmap.de. This is not a critical error, it should be safe to continue in your work.
- E: java.lang.Exception
- W: JOSM expected to find primitive [way -131116] in dataset but it is not there. Please report this at https://josm.openstreetmap.de. This is not a critical error, it should be safe to continue in your work.
- E: java.lang.Exception
- W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out

Attachments (2)

Capture.PNG (24.2 KB ) - added by ff5722 4 years ago.
Annotation 2020-06-29 141758.jpg (13.9 KB ) - added by ff5722 4 years ago.

Download all attachments as: .zip

Change History (3)

by ff5722, 4 years ago

Attachment: Capture.PNG added

by ff5722, 4 years ago

comment:1 by tntchn, 4 years ago

The role of the sort method is usually follow Unicode CJK Unified Ideographs(中日韓統一表意文字) code which follow the radical(部首) and the count of strokes, which used in many places especially in IT field. I think that is not a problem because it' hard to make a dictionary in JOSM about the pinyin of a word and use radical and count of strokes is enough.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to ff5722.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.