aspose file tools*
The moose likes JSF and the fly likes how to display special characters? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to display special characters?" Watch "how to display special characters?" New topic
Author

how to display special characters?

Styn Cremers
Greenhorn

Joined: Nov 02, 2009
Posts: 2
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

Joined: Nov 03, 2009
Posts: 71

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.


Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
willCodeForFood("Java,PHP,C#,XML,VBS,XHTML,CSS,JavaScript,SQL"); //always looking for job opportunities in AU/NZ/US/CA/Europe :P
Srini Mutpur
Greenhorn

Joined: Mar 29, 2008
Posts: 24

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


SCJP 1.5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display special characters?
 
Similar Threads
need help to move a ball from scratch
jQuery code autocompletion
how to show all countries currency symbols
how to force java to print columns with ascii values
Special characters converts to ? in Oracle 10g databse