#10498 closed defect (bug) (fixed)
RSS widget filters some characters
Reported by: | pavelevap | Owned by: | rmccue |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | 2.8.2 |
Component: | Widgets | Keywords: | simplepie has-patch dev-feedback |
Focuses: | Cc: |
Description
Hello, when inserting this RSS (http://servis.idnes.cz/rss.asp?c=mfd_k) into RSS widget then some characters are removed, for example č, í, ý, etc.
Attachments (1)
Change History (8)
#2
@
14 years ago
- Keywords simplepie needs-patch added
- Milestone changed from 3.0 to Future Release
The root cause of this is SimplePie, It seems to be striping the characters instead of converting them to html entities.
Moving to future release due to no patch.
#3
@
13 years ago
- Keywords has-patch dev-feedback added; needs-patch removed
The problem is that SimplePie tries to use mb_convert_encoding()
without checking whether the encoding is supported. In this case, Windows-1250 isn't supported, so you lose all the special characters. You can check what is supported by calling mb_list_encodings()
.
Someone has reported the issue here: https://github.com/rmccue/SimplePie/issuesearch?state=open&q=encoding#issue/121 (second bit). But upstream development doesn't look very active.
#4
@
13 years ago
- Owner changed from azaozz to rmccue
- Status changed from new to assigned
I'm the SimplePie maintainer, so I'll look into this and report back.
#5
@
13 years ago
Pushed up to https://github.com/simplepie/simplepie/commit/cce56bb6809de9301909204c40c8a4f13ec322fe
Should be find to merge into WordPress' hacked up version. ;)
No patch, moving to 3.0