html - How does browsers render iframe with different encoding of parent page? -
i have web page encoded in utf-8, need include subpage iframe encoded in gbk.
so wonder how browsers(ie/chrome/ff) render characters of whole page ? browsers treat iframe page standalone page , use own encoding charset ?
thanks !
in general, browser treat iframe page standalone page if being rendered in separate tab or window.
there is, however, issue some versions of internet explorer content of iframe not set encoding through content-type, , picks parent window's encoding on initial load.
Comments
Post a Comment