Thanks. I think it does have to do with the encoding somewhere. I can use the debugger on OS X (Xcode) and see the exact response from the web server. The value mark is being encoded as %FC, but the sub-value mark is not being encoded, just passed through as an ASCII 184. I will investigate the getEncoding routine - maybe it is something broken in Apple's JVM.
-----Original Message----- Date: Mon, 21 Jun 2004 15:24:11 +0100 From: "Simon Lewington" <[EMAIL PROTECTED]> Subject: Re: [U2] Universe & Redback & Java Problem "Wendy Smoak" ... > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Tsombakos, John > > Now, here's the rub.. My initial testing is using Mac OS X. > > But, when the > > routine returns a multi-valued item, the value of the SubValue (@SM) > > character is wrong, so I can't pull sub-values out of a > > result. The Value > > mark (@VM) is correct (CHAR(253)). The SubValue mark is being > > return in the > > string as a CHAR(184). > > I've never used a Mac. When you use UniObjects for Java on Linux, you > have to make sure to set the LANG environment variable to 'C' or the > same sort of thing happens. Hope that's somewhat helpful, isn't OS X > somehow related to Unix? 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 ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/