 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Brad BARCLAY Guest
|
Posted: Thu Jun 26, 2003 4:37 pm Post subject: Re: Localization problem, help needed |
|
|
WeNotStupid wrote:
| Quote: | Hi, All
I have the following problem about displaying chinese characters in my
java application,
The application is unable to display the chinese characters, though the
characters are stored as UTF8 in my properties file
(test_zh.CN.properties) ? On the display, the chinese characters appear
as small boxes, and the number of boxes equals to the number of chinese
characters.
I have tried playing around the region settings.
Any help is appreciated, thank you.
|
I'm going to ask two obvious questions here, so get ready for it... ;)
Are you sure you have the International version of Java installed, as
opposed to the US English version? Do you have the correct fonts setup
to display Chinese characters in Java?
Brad BARCLAY
--
=-=-=-=-=-=-=-=-=
From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
The jSyncManager Project: http://www.jsyncmanager.org
|
|
| Back to top |
|
 |
greyhound Guest
|
Posted: Fri Jun 27, 2003 4:33 pm Post subject: Re: Localization problem, help needed |
|
|
I had a similar problem trying to display Japanese characters. I was
able to display the file contents correctly after I renamed the file
fonts.properties.ja as fonts.properties. There may be a more elegant
solution, but this one worked for me.
WeNotStupid <WeNotStupid (AT) NotStupid (DOT) com> wrote
| Quote: | Hi, All
I have the following problem about displaying chinese characters in my
java application,
The application is unable to display the chinese characters, though the
characters are stored as UTF8 in my properties file
(test_zh.CN.properties) ? On the display, the chinese characters appear
as small boxes, and the number of boxes equals to the number of chinese
characters.
I have tried playing around the region settings.
Any help is appreciated, thank you.
regards
James
|
|
|
| Back to top |
|
 |
Sri Nivas Guest
|
Posted: Sun Jun 29, 2003 9:58 pm Post subject: Re: Localization problem, help needed |
|
|
WeNotStupid wrote:
| Quote: | Hi, All
I have the following problem about displaying chinese characters in my
java application,
The application is unable to display the chinese characters, though the
characters are stored as UTF8 in my properties file
(test_zh.CN.properties) ? On the display, the chinese characters appear
as small boxes, and the number of boxes equals to the number of chinese
characters.
I have tried playing around the region settings.
Any help is appreciated, thank you.
regards
James
Try renaming your properties file to test_zh_CN.properties. |
|
|
| Back to top |
|
 |
Nigel Wade Guest
|
Posted: Thu Apr 13, 2006 1:12 am Post subject: Re: Set/check run Environment for j2re-1.4.0 ? |
|
|
news (AT) absamail (DOT) co.za wrote:
| Quote: | Hi,
I want to run this Java ap. & I read:-
]Because Protg is written in Java, it will run on any platform that
]supports a version 1.4.2 compliant Java Virtual Machine (this includes
]Windows XP, Linux, and Macintosh machines).
The latest linux installation I've got is Mandrake9 , which has:
j2re-1.4.0._01
Which I installed, but it didn't have a man or any tutorial.
According to some old sun tutors and the actual kaffe 1.0.7,
'javac ID.java', complies ID.java to create byte-code file: ID.class .
And 'java ID' runs the byte-code.
I tested helloWorld after installing kaffe 1.0.7, my first java action !
Now when I want to 'extend' to the newly installed j2re-1.4.0._01,
I can't find any javac executable.
All executables are binary, except a script: ControlPanel, which
ends with:
SomeDir>/bin/java -D<long string of args
When I run this script, I see error messages.
Q- how do I activate the compiler ?
Q - what are the essential env-vars for j2re & how are they set.
Thanks for any info.
== Chris Glur.
|
The JRE (as in j2re...) is the Java Runtime Environment. It has all the
necessary components for running Java applications, applets etc. It does
not have the necessary components for developing Java applications, and
that includes the Java compiler, javac.
You need to install the Java Development Kit. That might be called the
JDK or the SDK (Sun can't make up their minds, and change it with every
minor release).
Try http://java.sun.com/j2se/1.4.2/download.html for the latest 1.4 SDK
release. Ther you will find the download, and installation instructions. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|