Blogger importer iframe don't send charset
|Reported by:||Sewar||Owned by:||matt|
|Component:||Administration||Keywords:||blogger utf-8 i18n|
Blogger importer iframe don’t send charset, So the browser will choose failed charset for the page.
The patch for this bug is add this code in “wp-admin/import/blogger.php” file:
header( ‘Content-Type: text/html; charset=utf-8’ );
(I think the best place for adding this code is in the line 2!)
Also, the page have no HTML header code so the page will be displayed as LTR (Left-To-Right) in RTL (Right-To-Left) versions like Arabic and Farsi and other languages. If you add HTML header you can solve the past bug without add the past code.
I think the best solution for this bug is using AJAX, AJAX can be used for long pages like it used in Gmail.
I hope this is helpful.