1

I try to compile unicode source files using the following command line :

"C:\Program Files\Java\jdk1.5.0_05\bin\javac.exe"  -encoding unicodeLittle -nowarn -source 1.5 -classpath . *.java

bug I get the following error :

error: unsupported encoding: unicodeLittle

However unicode seems to be a supported charset : http://download.oracle.com/javase/1.4.2/docs/guide/intl/encoding.doc.html

any idea ?

1 Answer 1

2

Try spelling with a capital u:

... -encoding UnicodeLittle ...
              ^

Keep in mind that Java is case-sensitive in many regards, even on Windows machines.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.