The Artima Developer Community
Sponsored Link

Java Answers Forum
how to display the registered trade mark in xml

1 reply on 1 page. Most recent reply: Jul 24, 2003 9:45 PM by Greg Lehane

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Lynn

Posts: 1
Nickname: lynn
Registered: Jul, 2003

how to display the registered trade mark in xml Posted: Jul 24, 2003 9:00 AM
Reply to this message Reply
Advertisement
Hi, there

I have some problem with displaying the registered trade mark in xml. I wrote a java class to get a xml file from another site, all I did just get that xml and print it out on the browser. First I got an error on the browser, "An invalid character was found in text content.", then I found that the xml file I got didn't specify the charactor set, I added <?xml version="1.0" encoding="ISO-8859-1"?> at the very begining, now the xml can be displayed on the browser, but the register trade mark displayed as +é-« , what should I do?

Thanks

Lynn


Greg Lehane

Posts: 33
Nickname: glehane
Registered: Jun, 2003

Re: how to display the registered trade mark in xml Posted: Jul 24, 2003 9:45 PM
Reply to this message Reply
Try replacing the character with
&#174;
before letting the browser render it.

Flat View: This topic has 1 reply on 1 page
Topic: How to display Internet Explorer in a JFrame Previous Topic   Next Topic Topic: can help to do this program??

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use