File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display special characters?

 
Styn Cremers
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hellow!

I've got a problem with displaying some special characters....
I need to display to unicode/utf-8 character “ and ”.
You can find the codes here: http://stuffofinterest.com/misc/utf8.php?s=128 the UCS-2 Dec codes are 147 and 148.

But when i see them in firefox, i also get a “...

any idea what i'm doing wrong?
 
Akaine Harga
Ranch Hand
Posts: 97
Java MyEclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Had the same problem. When I put escaped chars or utf codes the page refused to render and threw exception. So I just use the chars directly with charset declared in the template header and all works just fine.
 
Srini Mutpur
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

All the special characters html numbers are available at

http://www.ascii.cl/htmlcodes.htm
http://www.degraeve.com/reference/specialcharacters.php

for >: >
for " : "

Thanks
Srini
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic