I have a problem with accentuated letters in panels/menus.
My project is using ISO-8859-1 in the loading html page:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
Then I'm using a menu including:
Code:
vee.B_you = new Ext.Toolbar.TextItem({text:'Connecté / connecté : <b>'});
Edit: in this code, the first "é" is actually coded "#233;", but I don't manage to display it there.
It renders fine (see attachment #1) and displays as expected. Somewhere else, I'm updating this object with:
Code:
vee.B_you.update('Connecté / connecté : <b>' + user + '</b>');
Then, the non-UTF-8 accentuated letter "é" displays incorrectly (see attached screenshot #2).
I have the same problem with an Ext.TabPanel:
Code:
Tab_Accueil = new Ext.TabPanel({id: 'Tab Accueil' , title:'Défaut'
, html:'çà c\'est un essai élégant de caractères accentués'});
is fine, but I have the problem when applying:
Code:
var tmp=R.getComponent('center');
tmp.getComponent('Tab Accueil').body.update('Bienvenue ' + user + ', çà c\'est un essai élégant de caractères accentués');
Any idea?