Opened 7 years ago

Last modified 7 years ago

#17595 closed defect

False positive "Tag value contains non-printing character" for Persian script — at Version 4

Reported by: Claudius Owned by: Don-vip
Priority: normal Milestone: 19.04
Component: Core validator Version:
Keywords: template_report persian unicode regression Cc:

Description (last modified by Klumbumbus)

What steps will reproduce the problem?

  1. Load osmwww:node/3305202081 (Tested with node version v8 which contains the tag wikipedia=fa:منجیل‌آباد )
  2. Run validator

What is the expected result?

No "Tag value contains non-printing character" warning to be shown

What happens instead?

"Tag value contains non-printing character" is shown. The name Manjilabad written in Persian script منجیل‌آباد are perfectly valid and printable characters.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-04-11 21:18:16 +0200 (Thu, 11 Apr 2019)
Revision:14986
Build-Date:2019-04-12 01:30:51
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (14986 de) Windows 10 64-Bit
OS Build number: Windows 10 Home 1809 (17763)
Memory Usage: 653 MB / 2048 MB (142 MB allocated, but free)
Java version: 11.0.1+13, AdoptOpenJDK, OpenJDK 64-Bit Server VM
Screen: \Display0 2736x1824
Maximum Screen Size: 2736x1824
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34867)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenPisteMap&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Iranian_Preset&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
+ https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Change History (4)

comment:1 by GerdP, 7 years ago

This message is not about persian script characters. Please try the Fix button and check the result.

comment:2 by Don-vip, 7 years ago

Keywords: unicode block persian added
Owner: changed from team to Don-vip
Status: newassigned

There is no autofix for this check. It is impossible to guess if the string contains an extra character that must be deleted or if someone used a wrong character instead of the correct one.

comment:3 by GerdP, 7 years ago

There is an autofix. I am just not sure if it works for this case where left to right and right to left is mixed.

comment:4 by Klumbumbus, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.