Modify

Opened 8 years ago

Closed 8 years ago

#14722 closed defect (duplicate)

Text encoding broken when reading .osm files

Reported by: sommerluk Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

Steps to reproduce:

1.) Open JOSM.

2.) Create a new layer.

2.) Create a node.

3.) Add a tag to this node: “name=𠀐𠀑”. (The value is “\U20010\U20011”.)

4.) Save the layer.

5.) Close the layer.

6.) Open again the file that you have saved.

Expected result: The “name” key still has the same value.

Actual result: The “name” key has the value “𠀐𠀐𠀑”.

Comment: Note the the file is created correctly. But JOSM does not open it correctly again. I had the same problem also when opening Overpass querries in JOSM. Only when downloading directly from the OSM API, there seems to be no problem.

Attachments (1)

bug.osm (231 bytes ) - added by sommerluk 8 years ago.
bug.osm

Download all attachments as: .zip

Change History (3)

by sommerluk, 8 years ago

Attachment: bug.osm added

bug.osm

in reply to:  description comment:1 by bastiK, 8 years ago

Please check the following list and add the missing information:

To ensure that all technical relevant information is part of a ticket, create new tickets by clicking in JOSM on menu Help → source:trunk/images/bug.png Report Bug.

Comment: Note the the file is created correctly. But JOSM does not open it correctly again. I had the same problem also when opening Overpass querries in JOSM. Only when downloading directly from the OSM API, there seems to be no problem.

Please report this separately (and with an example) if it occurs again.

comment:2 by sommerluk, 8 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #14724.
Closing in favour of https://josm.openstreetmap.de/ticket/14724

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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