[OSM-dev] UTF-8 Failure...

spaetz osm at sspaeth.de
Mon Aug 18 09:09:01 BST 2008


As my utf-8 knowledge is next to inexistent, I would appreciate if people could have a look whether this is really a case of an UTF-8 error, or whether our UTF-8 checker is wrong.

The UTF-8 checker in the t at h client aborts when rendering
    ./tilesGen.pl --Layers=caption xy 35 21 6
with an UTF-8 error in line 262. The node is question is:

  <node id='26036174' lat='48.4580926' lon='18.8982803' user='richard_k' osmxapi:users='richard_k' timestamp='2007-12-16T08:42:54Z'>
    <tag k='ascii_name' v='Banska Stiavnica'/>
    <tag k='city_id' v='516643'/>
    <tag k='city_type' v='county_city'/>
    <tag k='ele' v='494'/>
    <tag k='import_ref' v='city_import_sk_1'/>
    <tag k='is_in' v='Banskà Ãtiavnica,Banskobystrickà kraj,Strednà Slovensko,Slovensko'/>
    <tag k='loc_name' v='Banska Stiavnica,Banska Stiavnica a Banska Bela,Banskà Ãtiavnica,Banskà Ãtiavnica a Banskà Bel##.'/>
    <tag k='name' v='Banskà Ãtiavnica'/>
    <tag k='place' v='town'/>
    <tag k='population' v='10674'/>
    <tag k='region_id' v='602'/>
    <tag k='source:name' v='http://earth-info.nga.mil/gns/html/cntry_files.html,www.statistics.sk'/>
  </node>

I put the .osm file in question is at http://dev.openstreetmap.org/~spaetz/caption_6_35_21.osm.bz2

Again, as my utf-8 knowledge is next to inexistent, I would appreciate if people could have a look whether this is really a case of an UTF-8 error, or whether our UTF-8 checker is wrong.

Thanks.




More information about the dev mailing list