Steve,
Java System properties can be set on the java command line:
java -Dfile.encoding=iso8859-1 HelloWorld
I'm sorry, but I've lost track of exactly what you are trying to do.
Can you post some sample code / commands to reproduce your problem?
A canonical example (from a z/OS shell):
$ cat HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
$ javac HelloWorld.java
$ java HelloWorld
Hello World
$
Does this work for you?
Kirk
Steve Comstock wrote:
Kevin Pintar wrote:
Steve,
Talking to a few fellows who have been working with Java on the
mainframe, they suggested looking at the value of 'file.encoding' system
property.
And where would I expect to find that? In /usr/lpp/java/J1.4/bin
there is a java.properties file, but it does not have a 'file.encoding'
string anywhere I could find.
Here is a page that has some code snippets and a discussion that may
help.
http://java.sun.com/developer/JDCTechTips/2003/tt0110.html
Well, interesting, but not helpful in telling me where
and how to change my ecoding. I think that's what I need.
Kind regards,
-Steve
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html