The site from which I call the function window.open()is in UTF-8, using the tag <meta>, everything works fine, but as soon as I call the function and open another window with the same tag, the new window shows strange characters, even conceivable in the page information, this indicates that the encoding remains the same (UTF-8).
window.open()
<meta>
This is the same problem as mine: http://bytes.com/topic/javascript/answers/622922-character-encoding-after-window-open
I had exactly the same problem.
, "Session.CodePage = 65001" . . , "" , (, åäö) .
: , . !
. unescape(decodeURIComponent( YOUR_URL )) window.open().
unescape(decodeURIComponent( YOUR_URL ))
: window.open(unescape(decodeURIComponent( YOUR_URL )), '_blank');
window.open(unescape(decodeURIComponent( YOUR_URL )), '_blank');
, .
charset = "UTF-8" javascript. , , , javascript.
(, -, ), . , UTF-8.