[OSM-talk] JOSM and swedish characters

Tommy Persson tpe at ida.liu.se
Wed Jul 19 01:24:57 BST 2006


Immanuel Scholz <immanuel.scholz at gmx.de> writes:

> JOSM uses UTF-8 to save its files (and transfer data to the server). I
> just checked it here again and it works for me. All unicodes are
> properly saved and reloaded into JOSM (and are stored as UTF-8 bytes in
> the save file).

Ah, you are right.  I am not so used to UTF-8 characters so I did not
recognize an å when it was in UTF-8.

> If you like to use the osm files saved with JOSM in a different encoding
> than UTF-8, there are tools to convert XML from one encoding into
> another. Be sure to change the encoding line (the first line) in the XML
> file accordingly ;-)

And I know how to do it in Perl :-)

I started reading the Ruby book and i had not realized that it was
written by the same persons that wrote _The Pragmatic Programmer_
which is a very good book.  Ruby semms to have the properties that
makes Perl a fun programming language and some things was as you
pointed out very Perlish.


-- 
/Tommy Persson




More information about the talk mailing list