posted 19 years ago
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"?>
<jnlp
spec="1.0+" codebase="http://localhost:8080/TSM1" href="HelloWorld.jnlp">
<information>
<title>HelloWorld</title>
<vendor>denght(If I declared with Chinese Character,the error happened. )</vendor>
<homepage href="http://192.168.0.15:8080/TSM1/index.html"/>
<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"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="HelloWorld.jar"/>
</resources>
<application-desc main-class="HelloWorld"/>
</jnlp>
[ September 11, 2004: Message edited by: Deng Haitao ]
[ September 12, 2004: Message edited by: Deng Haitao ]