function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NekosanNekosan 

Special characters in Visualforce

I am trying to display '©' on visualforce.I am using outputtext. Its showing garbage values. I tried using escape = false, still cannot see exact symbol on visualforce page. 
Is there any other tag which I can use to display special character ? 
Best Answer chosen by Nekosan
NekosanNekosan
Thanks. Issue was with dataload which added garbage value to the field which I was reading in VF. 
 

All Answers

Roy LuoRoy Luo
Have you tried ascii code '!' ?

&#33; <apex:outputtext value='&#33;' />

In your controller format the string value to something like this:
public String crMsg = '&#33; Superduper Firm';

Then in VF:
<apex:outputtext value='{!crMsg}' />
 
NekosanNekosan
Thanks. Issue was with dataload which added garbage value to the field which I was reading in VF. 
 
This was selected as the best answer