Beginner Question : Enabling Latin characters ASCII set for old Java version 1.2.2_10

H

humphrey.c.chan

Hello,

I am a beginner in Java programming.

We are running an older verision of Solaris Java JDK 1.2.2_10 and have
the rt.jar in our Solaris 8 server.

We are getting occasional "IOException java.io.EOFException" errors
when we run our Java program. Those errors occur when the program
encounters characters outside the standard ASCII character set. Some
examples are the Latin symbol for sections, trademark symbol, copyright
symbol, etc. They are part of the Latin1 characters in the ISO-8859-1
extended ASCII character set.

We need to find out what class/library or basic encoding set is needed
and how to test and resolve the problem.

Thanks for your help in advance.

Humphrey
 
I

iksrazal

(e-mail address removed) escreveu:
Hello,

I am a beginner in Java programming.

We are running an older verision of Solaris Java JDK 1.2.2_10 and have
the rt.jar in our Solaris 8 server.

We are getting occasional "IOException java.io.EOFException" errors
when we run our Java program. Those errors occur when the program
encounters characters outside the standard ASCII character set. Some
examples are the Latin symbol for sections, trademark symbol, copyright
symbol, etc. They are part of the Latin1 characters in the ISO-8859-1
extended ASCII character set.

We need to find out what class/library or basic encoding set is needed
and how to test and resolve the problem.

Thanks for your help in advance.

Humphrey

Might be just a shell issue - fixed a similair problem for me a while
back. In your .kshrc try:

export LC_ALL=pt_BR
export LANG=pt_BR

Or whatever char set you want to support.

Recently now that solaris comes with bash - though maybe not in your
case - I've been using:

export LANG=pt_BR.ISO-8859-1

hth,
iksrazal
http://www.braziloutsource.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top