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
Mike PardMike Pard 

Spanish characters in apex title component

Hi all,

The problem is that spanish accents doesn´t work in the title of the components

For example the next code:
 
<apex:pageBlockSection title="II. Informaci&oacute;n inicial sobre la entidad" columns="1">


It renders  
II. Informaci&#243;n inicial sobre la entidad


In the title of the component 

I am working with Eclipse Java EE IDE for Web Developers. Version: Juno Service Release 1
I have installed the Force.com IDE plugin


In my VisualForce Page I have the next html code 
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta http-equiv="Content-Language" content="es" />

Also, in the Properties --->  Resource --> Text file enconding section of my Visual Force Page section  I have selected the UTF-8 type

This is a very specific problem because it just happens in the title of the components, in the html normal text , it works very well.

So, i hope someone be able to help me

Thank you in advance

Best regards!!!



 
PratikPratik (Salesforce Developers) 
Hi Mike,

Please try this:

 <apex:pageBlockSection title="II. Información inicial sobre la entidad" columns="1"> 

Thanks,
Pratik
Mike PardMike Pard
Hi Pratik

I  appreciate very much your answer.

It doesn´t work 


It renders a symbol: �



Thank you 


Regards
Mike PardMike Pard
Hi all


I have found the solution.

It was solved by editing the Visual Page directly in the salesforce platform development and not using Eclipse plug in.


I mean the problem is generated by Eclipse.


I hope it be useful 


Regards

 
PratikPratik (Salesforce Developers) 
Hi Mike, I tried it using the vf editor in Salesforce only and it did work! Glad to know its working! Thanks, Pratik