Ticket #2404 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Blogger importer iframe don't send charset

Reported by: Sewar Assigned to: matt
Priority: high Milestone:
Component: Administration Version: 2.0.1
Severity: normal Keywords: blogger utf-8 i18n
Cc:

Description

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.

Attachments

blogger.diff (368 bytes) - added by Sewar on 02/11/06 14:17:01.
patch for first bug

Change History

02/11/06 14:17:01 changed by Sewar

  • attachment blogger.diff added.

patch for first bug

02/11/06 14:20:17 changed by Sewar

  • version changed from 2.0 to 2.0.1.
  • milestone changed from 2.1 to 2.0.1.

02/11/06 22:05:29 changed by markjaquith

  • milestone changed from 2.0.1 to 2.1.

2.0.1 already happened! ;-)

02/23/06 20:46:35 changed by Sewar

  • milestone changed from 2.1 to 2.0.2.

03/04/06 22:11:51 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3609]) Set charset in blogger importer iframe. Props Sewar. fixes #2404

11/30/06 19:41:50 changed by

  • milestone deleted.

Milestone 2.0.2 deleted