[openstreetmap/openstreetmap-website] Tags containing 0x7f unicode control character (#1213)

mmd notifications at github.com
Wed May 4 07:57:54 UTC 2016


I found the following snipped in the [osmosis sources](https://github.com/openstreetmap/osmosis/blob/e5d77d4c29436b458a900d509af5a01edfe88aac/osmosis-xml/src/main/java/org/openstreetmap/osmosis/xml/common/ElementWriter.java#L41):

```Java
XML_ENCODING.put(new Character((char) 0x7F), "");
```

I guess the purpose is to replace `0x7f` by an empty string, e.g. a deliberate decision to suppress `0x7f` at least for XML output. That also explains why we can't query for `0x7f` in Overpass API - it's just not in the diff file.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1213#issuecomment-216770953
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160504/47c7df42/attachment-0001.html>


More information about the rails-dev mailing list