Opened 18 months ago
Closed 9 months ago
#19454 closed defect (bug) (fixed)
Encoding errors in plugins updating subsystem
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Upgrade/Install | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: | sergey.s.betke@…, knut@… |
Description
When the option default_charset in php.ini (for example - windows-1251) other than blog encoding (for example - UTF-8), whe have troubles.
WordPress version
Latest WordPress files - 3.3-RC1-19537
browser
MS IE9, Google Chrome
Reproducing the problems
- set in php.ini (or in htaccess) default_charset to windows-1251 (or any other, not UTF-8 in this example)
- set wordpress option blog_charset to UTF-8
- go to /wp-admin/update-core.php
- update Your plugins. I see wrong encoding in iframe.
plugins and themes
This trouble is exist on default wordpress installation, with any plugins, on default theme
Test environment
- IIS 7
- PHP 5.3.6
- MySQL 5.1
- proxy - MS ISA Server
- Test server - http://test.www.novgaro.ru, account - testuser, password - testuser. (You can login to this test server).
Attachments (5)
Change History (13)
sergey.s.betke@… — 18 months ago
- Keywords needs-testing added
- Keywords needs-testing removed
SergeyBiryukov — 9 months ago
SergeyBiryukov — 9 months ago
SergeyBiryukov — 9 months ago
comment:4
SergeyBiryukov — 9 months ago
- Milestone changed from Awaiting Review to 3.5
comment:5
SergeyBiryukov — 9 months ago
Moving things into _wp_admin_html_begin() can result in dupes. The six places that call this function need to be audited.
SergeyBiryukov — 9 months ago
comment:7
SergeyBiryukov — 9 months ago
19454.3.diff only adds the charset to iframe_header(). The rest appears to be already handled.
Note: See
TracTickets for help on using
tickets.

Confirmed on Apache 2.2.4 with PHP 5.2.14 as well: 19454.iframe.png.
AddDefaultCharset utf-8 in .htaccess doesn't help.
19454.2.diff is the refreshed patch. Not sure if the additional headers are necessary though. 19454.charset-only.diff just fixes the charset issue.