File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes A problem of JNLP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "A problem of JNLP file" Watch "A problem of JNLP file" New topic

A problem of JNLP file

Deng Haitao

Joined: Sep 10, 2004
Posts: 1
Hi , everyone ,
I have a question when edit My JNLP file . The value of description element I declared are some Chinese characters.when I launch the Application by JWS ,I found the charater appear not correctly in JWS presention windows.
Is there some wrong in my JNLP file?
How should I encode my characters in THe file so that they appear correctly in JSW presention windows?
Thanks in advance for any help!!!

The JNLP file as follows:
<?xml version="1.0" encoding="UTF-8"?>
spec="1.0+" codebase="http://localhost:8080/TSM1" href="HelloWorld.jnlp">
<vendor>denght(If I declared with Chinese Character,the error happened. )</vendor>
<homepage href=""/>
<description>Can I use a NON-US character here?(If I declared with Chinese Character,the error character appeared happened. )</description>
<description kind="short">example</description>
<icon href="images/draw.jpg"/>
<j2se version="1.4+"/>
<jar href="HelloWorld.jar"/>
<application-desc main-class="HelloWorld"/>

[ September 11, 2004: Message edited by: Deng Haitao ]
[ September 12, 2004: Message edited by: Deng Haitao ]

I agree. Here's the link:
subject: A problem of JNLP file
It's not a secret anymore!