On Wed, 19 May 2010, Florian Lohoff wrote:

On Mon, May 17, 2010 at 05:11:58PM +0200, Florian Lohoff wrote:
+           if (entry.getExifImgDir() != null) {
+                osd.append(tr("\nDirection {0}°", 
Math.round(entry.getExifImgDir())));
+           }

The ° gets garbled - it works in my environment - seems okay in the
the josm git - but in the josm-latest its shown as 2 rectangles
in the image viewer - So my guess is that its a utf-8 in the svn/git repo
and the build machine is an iso-8859-Something and intereprets the multibyte
character as individual characters ...

You need to use \u... instead of UTF-8 (see e.g. measurement plugin). Currently JOSM code is 7 bit ASCII and I don't want to change that, as we very seldom use such characters.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to