Defect #26
GB2312 must be treated as GB18030
| Status: | Verified | Start: | 2008-02-05 | |
| Priority: | Medium | Due date: | ||
| Assigned to: | Geoffrey Sneddon | % Done: | 0% |
|
| Category: | Miscellaneous | |||
| Target version: | 1.1.2 | |||
| Affected Version: | 1.1.1 |
PHP Version: | 5.2.4 |
|
| mbstring enabled: | No |
iconv enabled: | No |
|
| cURL enabled: | No |
zlib enabled: | No |
|
Description
GB18030, the successor to GB2312, is a superset of GB2312, and many feeds are incorrectly served as GB2312 when they are in fact GB18030 (e.g., http://yaoke12345.bokee.com/rss2.xml). As it is a pure superset, it is safe to treat GB2312 as GB18030, something that IE and Fx already do.
Associated revisions
Replace SimplePie_Misc::encoding() with one generated by the new create.php. This fixes #26.
History
Updated by Geoffrey Sneddon 873 days ago
- mbstring enabled set to No
- iconv enabled set to No
- cURL enabled set to No
- zlib enabled set to No
Actually, this is wrong: we should only be treating GB2312 as GBK.
Updated by Geoffrey Sneddon 845 days ago
- Affected Version set to 1.1.1
- PHP Version set to 5.2.4
- mbstring enabled set to No
- iconv enabled set to No
- cURL enabled set to No
- zlib enabled set to No
Updated by Geoffrey Sneddon 845 days ago
- Target version changed from 1.2 to 1.1.2
Updated by Geoffrey Sneddon 796 days ago
- Assigned to set to Geoffrey Sneddon
Updated by Geoffrey Sneddon 795 days ago
- Status changed from New to Fixed
Applied in changeset r980.
Updated by Geoffrey Sneddon 795 days ago
What we do now should match the part of HTML 5 that was linked to in comment #4, with the exception of "User agents must not support the CESU-8, UTF-7, BOCU-1 and SCSU encodings".
Updated by Geoffrey Sneddon 627 days ago
- Status changed from Fixed to Verified