Turns out I needed to recompile the Java program after setting LANG=C (strange seeing it change partially before the compile). The server doesn't have LANG set, but it is working now so I'm just making sure LANG gets set permanently on the linux box.

Thanks,
David Beahm

Wendy Smoak wrote:

David Beahm wrote:

Is there any reason why strings containing characters of hex value FE would be converted to two characters with hex values C3 BE when being sent to UniData? This is a linux box running UniObjects Java passing the values as subroutine arguments to UniData. More importantly, how do I stop this from happening? I have added NOCONVERT ON and UDT.OPTIONS 33 ON in the subroutine, but there was no change.


FE is 254... Subvalue mark, or have I counted wrong?

What is 'LANG' set to in each environment? IME, both the one running
UniData and the one running the UOJ code need to have LANG=C or you get
weird characters.



--
-----------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual
to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please contact the sender.
-----------------------------------------------------------------------
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to