mysql - Open Street Map Address Decode -


i using nominatim reverse geocoding service address latitude , longitude. then, store result in mysql database. coding fiddle below:

http://jsfiddle.net/gwl7a/171/

the address returned in local language such in example in chinese. , data stored not readable as:

"麒麟山新æ‘, 惠æ¥åŽ¿, 广东, 中åŽäººæ°‘共和国/china" 
  1. is possible make address returned in english.
  2. if that's not possible, how store data database when retrieve , show in web ui, returned chinese words? must not limited chinese word since might afghanistan, thailand, vietnam or other country's addresses.

thank you.

the object in question not yet internationalized in osm, nominatim can give original name (which in chinese). if need name “in english”/in latin script, have transcription yourself. guess 1 can find han-pinyin transcription library out there…

btw: make sure use correct charset when adding strings database. osm using utf-8.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -