PDA

View Full Version : Popup window failing to keep encoding->unicode (UTF-8).


kreddy
09-01-2004, 06:37 AM
Hello,


I need to be able to save Japanese characters. these are properly displayed
with browser (IE6.0.28) Encoding options "Auto Select" and "unicode (UTF-8)"
selected.

However, when I try to save, it opens a conformation popup-window where it shows
garbled (japanese) charecters with the Encoding options changed to "Auto Select"
and "Western European (Windows)". (When I did 'view -> source' on the popup it
shows <META HTTP-EQUIV='Content-Type' CONTENT='text/html; CHARSET=UTF-8'>
immediately after <HEAD> tag.). Then if I click OK, it is saving garbled values.

However, if I change encoding options on the popup window "Western European (
Windows)" to "UTF-8" with "Auto-Select" on, everything is working just fine.

Wondering why the browser automatically changing the encoding option on the popup
to "Western European"?. It is supposed to have similar encoding option as that of
the main window that opens it using window.open javascript call.
Window.open does not seem to give any encoding option.

Is there a way popup browser NOT change its encoding options and keep the same as

the main window that opened it. The response to the browser is being sent from a perl CGI.

Thanks,
kris