[josm-dev] JOSM charset

Petr Nejedly Petr.Nejedly at Sun.COM
Wed Sep 3 08:06:29 BST 2008


Dirk Stöcker napsal(a):
> On Tue, 2 Sep 2008, Frederik Ramm wrote:
> 
>>> now that I found a charset conflict in measurement plugin: Is there any
>>> definition in which charset the jar files are?
>>
>> You mean the java source code files? I don't see why they should be
>> anything else than good old 7-byte ASCII. We don't want any national
>> language characters in there anyway (they belong to the language
>> plugins). But since a 7-byte ASCII file is, by definition, a valid UTF-8
>> file as well... I don't care. Just don't put anything above 0x7F in your
>> source, ok ;-)
> 
> Well, the problem is measurement plugin, which uses degree symbol "°".
> 
> Not so easy to get that into ASCII except writing "deg".
"\u00B0"
-- 
Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org
355/113 -- Not the famous irrational number PI, but an incredible simulation!




More information about the josm-dev mailing list