> Date: Mon, 21 Jun 2004 15:24:11 +0100
> From: "Simon Lewington" <[EMAIL PROTECTED]>
> Subject: Re: [U2] Universe & Redback & Java Problem
> 
> I think Wendy could be on the right track.
> 
> RedBeans used to use, and may well still use, 
> java.net.URLEncoder - and this
> fails on high asci for non-US encodings.  If this is your 
> problem, then just
> setting LANG isn't enough to change the default encoding.  
> You can see what
> yours is by asking a java.io.OutputStreamWriter 
> getEncoding(). See perhaps
> http://www.jguru.com/faq/view.jsp?EID=78088 after a quick google.
> 
> If this really the problem then get on to IBM, because they 
> shouldn't be
> using this (dodgy anyway) unicode encoder with their asci data.
> 
> Simon
> 

That was it pretty much exactly. On the Mac, the default encoding is
"MacRoman". When I ran the app, specifying the encoding with

java -Dfile.encoding=Cp1252 -jar test.jar

my test app runs perfectly on the Mac. Now I'm going to see if it's a bug
with RedBeans or with the encoder in the Apple JVM.

Thanks all!
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to