views:

295

answers:

1

The site from where I'm calling the window.open() function is in UTF-8, using the <meta> tag, everything works well, but once I call the function and open another window with the same tag, the new window shows weird characters even thought in page info it shows that the encoding stays the same (UTF-8).

This is the same problem as mine: http://bytes.com/topic/javascript/answers/622922-character-encoding-after-window-open

A: 

If the browser uses the same encoding for both pages (which, apparently, it does) then the problem must be in the page itself. It probably contains invalid UTF-8 to begin with.

Thomas
Nope, it's written in the same editor (that work just fine). And also, if I don't open it in a new window, it works fine.
LuRsT
Weird... Can you reproduce it in another browser?
Thomas
Yup, it's the same in FF 3.5 and in ie8. I also added a link to my question about someone with the same problem.
LuRsT