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

mmd notifications at github.com
Tue May 3 19:52:12 UTC 2016


We also took a look at the minutely diff file, which introduced the 0x7f characters for node 3188718399:

 `gunzip -c 929.osc.gz | grep "3188718399" -A 10 | hexdump -C`. 

Our conclusion was, that diff files don't include 0x7f anymore. Only the main API and most likely a planet dump seem to be the only places where they still occur.

```
00000000  20 20 20 20 3c 6e 6f 64  65 20 69 64 3d 22 33 31  |    <node id="31|
00000010  38 38 37 31 38 33 39 39  22 20 76 65 72 73 69 6f  |88718399" versio|
00000020  6e 3d 22 32 22 20 74 69  6d 65 73 74 61 6d 70 3d  |n="2" timestamp=|
00000030  22 32 30 31 35 2d 30 33  2d 32 39 54 31 38 3a 30  |"2015-03-29T18:0|
00000040  31 3a 30 34 5a 22 20 75  69 64 3d 22 33 37 31 37  |1:04Z" uid="3717|
00000050  31 31 22 20 75 73 65 72  3d 22 6b 6e 6f 63 6b 70  |11" user="knockp|
00000060  65 6e 6e 79 22 20 63 68  61 6e 67 65 73 65 74 3d  |enny" changeset=|
00000070  22 32 39 38 33 33 36 36  34 22 20 6c 61 74 3d 22  |"29833664" lat="|
00000080  35 30 2e 34 35 39 33 35  38 31 22 20 6c 6f 6e 3d  |50.4593581" lon=|
00000090  22 33 30 2e 34 34 37 30  31 33 34 22 3e 0a 20 20  |"30.4470134">.  |
000000a0  20 20 20 20 3c 74 61 67  20 6b 3d 22 61 6d 65 6e  |    <tag k="amen|
000000b0  69 74 79 22 20 76 3d 22  72 65 73 74 61 75 72 61  |ity" v="restaura|
000000c0  6e 74 22 2f 3e 0a 20 20  20 20 20 20 3c 74 61 67  |nt"/>.      <tag|
000000d0  20 6b 3d 22 65 6d 61 69  6c 22 20 76 3d 22 62 61  | k="email" v="ba|
000000e0  67 72 61 74 69 2e 6b 69  65 76 40 79 61 6e 64 65  |grati.kiev at yande|
000000f0  78 2e 72 75 22 2f 3e 0a  20 20 20 20 20 20 3c 74  |x.ru"/>.      <t|
00000100  61 67 20 6b 3d 22 6e 61  6d 65 22 20 76 3d 22 d0  |ag k="name" v=".|
00000110  91 d0 b0 d0 b3 d1 80 d0  b0 d1 82 d0 b8 22 2f 3e  |............."/>|
00000120  0a 20 20 20 20 20 20 3c  74 61 67 20 6b 3d 22 6e  |.      <tag k="n|
00000130  61 6d 65 3a 72 75 22 20  76 3d 22 d0 91 d0 b0 d0  |ame:ru" v=".....|
00000140  b3 d1 80 d0 b0 d1 82 d0  b8 22 2f 3e 0a 20 20 20  |........."/>.   |
00000150  20 20 20 3c 74 61 67 20  6b 3d 22 70 68 6f 6e 65  |   <tag k="phone|
00000160  22 20 76 3d 22 2b 33 38  20 28 30 34 34 29 20 34  |" v="+38 (044) 4|
00000170  35 36 2d 33 35 2d 35 35  3b 2b 33 38 20 28 30 39  |56-35-55;+38 (09|
00000180  38 29 20 37 35 37 2d 38  35 2d 38 35 22 2f 3e 0a  |8) 757-85-85"/>.|
00000190  20 20 20 20 20 20 3c 74  61 67 20 6b 3d 22 77 65  |      <tag k="we|
000001a0  62 73 69 74 65 22 20 76  3d 22 68 74 74 70 3a 2f  |bsite" v="http:/|
000001b0  2f 77 77 77 2e 62 61 67  72 61 74 69 2e 63 6f 6d  |/www.bagrati.com|
000001c0  2e 75 61 2f 22 2f 3e 0a  20 20 20 20 3c 2f 6e 6f  |.ua/"/>.    </no|
000001d0  64 65 3e 0a 20 20 3c 2f  6d 6f 64 69 66 79 3e 0a  |de>.  </modify>.|
000001e0  20 20 3c 64 65 6c 65 74  65 3e 0a 20 20 20 20 3c  |  <delete>.    <|
000001f0  6e 6f 64 65 20 69 64 3d  22 33 31 38 38 37 35 32  |node id="3188752|
00000200  39 30 39 22 20 76 65 72  73 69 6f 6e 3d 22 32 22  |909" version="2"|
00000210  20 74 69 6d 65 73 74 61  6d 70 3d 22 32 30 31 35  | timestamp="2015|
00000220  2d 30 33 2d 32 39 54 31  35 3a 34 35 3a 31 38 5a  |-03-29T15:45:18Z|
00000230  22 20 75 69 64 3d 22 31  34 37 36 31 34 36 22 20  |" uid="1476146" |
00000240  75 73 65 72 3d 22 41 6c  65 63 73 30 31 22 20 63  |user="Alecs01" c|
00000250  68 61 6e 67 65 73 65 74  3d 22 32 39 38 32 37 37  |hangeset="298277|
00000260  33 36 22 20 6c 61 74 3d  22 34 35 2e 39 30 32 32  |36" lat="45.9022|
00000270  31 31 34 22 20 6c 6f 6e  3d 22 38 2e 37 31 36 35  |114" lon="8.7165|
00000280  36 34 32 22 2f 3e 0a                              |642"/>.|
```


---
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-216645296
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160503/21299c5a/attachment-0001.html>


More information about the rails-dev mailing list