﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
15645	Should offer a way to fix objects with invalid characters	naoliv	team	"Validate the attached example and see a warning about `Tag value contains character with code less than 0x20 - Key 'description' invalid.`

But it's not clear what exactly is the problem nor what the user needs to do to fix this.

With `Ctrl+i` I can see that maybe there is a newline (or similar character) after `permitido`:

{{{
    ""description""=""Acesso apenas por barco particular, não é permitido
concentrações elevadas de visitantes.""
}}}

which is confirmed if we take a look at the XML:
`<tag k='description' v='Acesso apenas por barco particular, não é permitido&#xA;concentrações elevadas de visitantes.' />`

But if we simply edit the key we can't see anything wrong:

[[Image(https://i.imgur.com/KemUTP3.png)]]

Two possibilities here:
* JOSM could display the invalid character if we edit the value
* JOSM could offer to fix it (by just removing it)

JOSM:
{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-05 00:58:56 +0100 (Tue, 05 Dec 2017)
Revision:13194
Build-Date:2017-12-05 02:33:31
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13194 en) Linux Debian GNU/Linux testing (buster)
Memory Usage: 810 MB / 7168 MB (659 MB allocated, but free)
Java version: 9.0.1+11-Debian-1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-9-jre:amd64-9.0.1+11-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [--add-modules=java.activation,java.se.ee, -Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found
}}}"	enhancement	closed	normal	19.03	Core validator		fixed		
