Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Problem on displaying french special characters
Huan
I don't have problem on displaying special characters like é in DCT. However, when I move them to the javascript file. It doesn't display correctly. The code snippet is as follows:
IWEventRegistry.addItemHandler("/pres-pres/general/language", "onItemChange", languageHandler);
...
function languageHandler(typeItem) {
...
else if (lan == "fr") {
provinceOptions = new Array();
provinceOptions[5] = new Option('Nouvelle-& #0201;cosse', 'NS', false, false);
IWDatacapture.getItem ("/pres-pres/location/province").setOptions(provinceOptions);
}
I used 4 ways to encode É and none of them works (I put in space after & because the forum automatically changed it to É).
1. É
2. & amp;Eacute;
3. & Eacute;
4. & #0201;
Find more posts tagged with
Comments
There are no comments yet