абв æøå

This parent doc and the iframe doc are both declared to be UTF-8 encoded.

And if you override the encoding of the parent, then the iframe doc will be forced to inherit the new encoding as well.