in reply to Change the charset for a window

I don't know the answer either way, but it's probably relevant to know if this is a window you created or an arbitrary window.