Hi!
Can somebody tell me or point in right direction how I can change the page character set on the fly? Any hints, tips etc.
I did used following lines:
if (strLang=="Russian"
document.charset = "windows-1251"
else
document.charset = "windows-1252";
Well, for the first time I was glad it does something after I looked to the menu "View->Encoding". However, after some playing, I did figured out that this just affects menu and nothing else! Just selected "Western Europen" character set in menu, and command document.charset = "windows-1251" switch option in menu, but page content does not change. Note that reloading a page is not a good option and it seems does not work too. (I'm using a set of DIV chapters that I show and hide - they contain content with different languages.)
;-(
Vlad Grynchyshyn, MVP
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
Can somebody tell me or point in right direction how I can change the page character set on the fly? Any hints, tips etc.
I did used following lines:
if (strLang=="Russian"
document.charset = "windows-1251"
else
document.charset = "windows-1252";
Well, for the first time I was glad it does something after I looked to the menu "View->Encoding". However, after some playing, I did figured out that this just affects menu and nothing else! Just selected "Western Europen" character set in menu, and command document.charset = "windows-1251" switch option in menu, but page content does not change. Note that reloading a page is not a good option and it seems does not work too. (I'm using a set of DIV chapters that I show and hide - they contain content with different languages.)
;-(
Vlad Grynchyshyn, MVP
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs