[OSM-dev] UTF-8 problems in informationfreeway?
Stefan Baebler
stefan.baebler at gmail.com
Fri Jan 4 07:26:13 GMT 2008
Hi again!
Osmxapi behaves much better now, but there is a problem with my test node
in planet.osm it is:
<node id="29161753" timestamp="2007-12-22T05:59:49Z" lat="46.1356895"
lon="14.7445634">
<tag k="created_by" v="JOSM"/>
<tag k="name" v="Moravče"/>
<tag k="is_in" v="Slovenia, Europe"/>
<tag k="place" v="town"/>
<tag k="note" v="Testing 34 random UTF-8
characters:ČčŽžŠšĐđĆć€ÄäËëÖöÜüŁłßÇç÷פ§ÉéÁáÂâ"/>
</node>
while
http://osmxapi.hypercube.telascience.org/api/0.5/node%5bplace=town%5d%5bbbox=14.5,46.1,14.8,46.2%5d
gives
<node id="29161753" lat="46.1356895" lon="14.7445634"
timestamp="2007-12-22T05:59:49Z">
<tag k="is_in" v="Slovenia, Europe"/>
<tag k="name" v="Moravče"/>
<tag k="note" v="Testing 34 random UTF-8
characters:ČčŽžŠšĐđĆć€ÄäËëÖöÜüŁłßÇç÷פ§ÉéÁ�.."/>
<tag k="place" v="town"/>
</node>
Note that the last 2 characters in note tag should be "Ââ".
Planet.osm is ok, but osmxapi seems to misinterpret some characters.
any ideas?
UTF characters in hourly diffs and their import into osmxapi still need
to be checked.
Stefan
More information about the dev
mailing list