Skip to main content

RE: [JAVAHELP] JavaHelp Software

No replies
Anonymous

Hi Stephan,

Thanks so much for the help! Guess what? It worked. What I did was that I removed the charset from the meta block,
I removed the stylesheet too. Every htm file was saved into Encoded Text Style and with GB2312 option. It works perfect!
Thank God!

Many thanks also go to whatever helped, especially to Roger too.

Nancy

-----Original Message-----
From: Discussion list of JavaHelp [mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Stephan Schlecht
Sent: 2004?5?25? 15:04
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] JavaHelp Software

Nancy,

Required:

- the HTML topic files need to have the info about the
used character set. Therefore there should be a line
like the following immediately after the tag
of your HTML file:

Two things to note:
* Replace the xxx with the actual character set you are using
* The content of the HTML topic file must use this character set!!

- If you are using a stylesheet with font settings, please make
sure, that fonts with Chinese characters are used in the stylesheet

- Like Binkey already mentioned, Chinese fonts need to be available
on the machine (is automatically the case if you are on
Chinese-localized version of Windows)

- The Chinese locale must be set for the Java application (is
automatically the case if you are on Chinese-localized version
of Windows)

If you are using a non-Chinese-localized version of Windows (e.g. a
English version of Windows), you need to do the following:

- install Chinese fonts
- set the locale of your Java application. This can be done by using
a specific option when starting your Java application:
-Duser.language=XXX
* XXX must be zh-CN for Simplified Chinese
* for Traditional Chinese use zh-TW

In case you want to install Chinese fonts and the Input Method Editor
on a English Windows 2000 system use the following steps:

You need to have Administrator rights to be able to install the IME and
you need to insert the Windows 2000 installation CD.
a) Login as Administrator
b) Press from the Start menu in the
Windows task bar
c) Select "Regional Options" from the control panel
d) In the lower area of the "General" tab, you see "Language settings
for the system". Check the box left beside the desired language and
click "OK".
Windows will install support for Chinese from the Windows Install CD-ROM.

To install the Input Method Editor:
a) Press from the Start menu in the
Windows task bar
b) Select from the control panel
c) Select the "Input Locales" tab
d) Select "Add" and choose the desired option
e) Click "OK"

Hope this helps,

Stephan
--
Software 7 GmbH
*** Helen 1.5, the JavaHelp 2.0 Authoring Tool ***
http://www.software7.biz

At 19:38 25.05.2004, you wrote:
>Hi Binky,
>
>A few minutes ago, I tried it on one of our lab machine which is running
>the Chinese operating system (Windows XP).
>It did not work. I edited the htm file with NotePad and saved it to Text
>Document type and Encoding with ANSI. Should I do anything in the file,
>let's say language with meta data or charset?
>I know it loaded the right file under ./help/zh dir. Do I miss anything I
>need to do?
>
>Thanks,
>
>nancy
>
>-----Original Message-----
>From: Discussion list of JavaHelp
>[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
>Sent: 2004?5?25? 9:08
>To: JAVAHELP-INTEREST@JAVA.SUN.COM
>Subject: Re: [JAVAHELP] JavaHelp Software
>
>
>Nancy Han wrote:
>
> > Hi everyone, I'm new to this group. I have the javahelp running in
> > our gui. But I'm trying to localize it to display Chinese. Has anyone
> > done this? When saving the htm files, what format should I save to.
> > Everytime when the htm file gets loaded into JavaHelp viewer, all the
> > characters become squares. Did I do anything wrong? I set my locale
> > to Chinese and all the gui labels, buttons, etc. are in Chinese too.
> > Just the JavaHelp is not working somehow.
>
>
>You don't have the correct fonts installed (as in Chinese). You'll need
> to run on Chinese machine to get this to work correctly.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.