[josm-dev] JOSM charset

2008-09-02 Thread Dirk Stöcker
Hello,

now that I found a charset conflict in measurement plugin: Is there any 
definition in which charset the jar files are?

Could we agree to use UTF-8 here or only plain ASCII?

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM charset

2008-09-02 Thread Henrik Niehaus
Dirk Stöcker schrieb:
> Hello,
> 
> now that I found a charset conflict in measurement plugin: Is there any 
> definition in which charset the jar files are?
> 
> Could we agree to use UTF-8 here or only plain ASCII?
> 
> Ciao


I would strongly recommend UTF-8


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM charset

2008-09-02 Thread Frederik Ramm
Hi,

Dirk Stöcker 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 ;-)

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM charset

2008-09-02 Thread Frederik Ramm
Hi,

Frederik Ramm wrote:
> You mean the java source code files? I don't see why they should be 
> anything else than good old 7-byte ASCII. 

s/byte/bit

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM charset

2008-09-02 Thread Dirk Stöcker

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".

Ciao
--
http://www.dstoecker.eu/ (PGP key available)___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM charset

2008-09-03 Thread Petr Nejedly
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!

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev