[OSM-dev] REST API encoding

James Mastros james at mastros.biz
Wed Jul 12 17:32:25 BST 2006


On Wed, Jul 12, 2006 at 06:17:59PM +0200, Thomas Walraet wrote:
> For client request, JOSM and the applet actually use UTF-8 encoding, and 
> it seems to work (except for way's tags that the server serve back wrongly).
> Does this behavior is considered OK, or is it better if we switch to 
> &#XX; things to encode characters outside ASCII ?

My vote is to always use &#xXX;-style for anything outside ASCII.
It's generally the easiest to deal with.

In purticular, JSOM should never send chars with the high bit set
unless it also specifies an encoding in the <?xml?>
processing-instruction.

		       -=- James Mastros




More information about the dev mailing list