Skip to content

Comments

Fix encoding problems caused by camo#826

Merged
SSilence merged 2 commits intofossar:masterfrom
lumiru:patch-3
Dec 19, 2016
Merged

Fix encoding problems caused by camo#826
SSilence merged 2 commits intofossar:masterfrom
lumiru:patch-3

Conversation

@lumiru
Copy link
Contributor

@lumiru lumiru commented Dec 17, 2016

Loading HTML in DomDocument create encoding issues.
Additionally, regex are faster than loading a document tree.

I often found this issue with fulltextrss spout and French feeds.

There might be another problem with encoding with this spout.
Indeed, I get similar problems on selfoss android app even if I apply this fix.

Loading HTML in DomDocument create encoding issues.
Additionally, regex are faster than loading a document tree.
@jtojnar
Copy link
Member

jtojnar commented Dec 17, 2016

Regexes might be slightly faster but are much easier to make mistake.

Edit: I misread.

@lumiru
Copy link
Contributor Author

lumiru commented Dec 17, 2016

Oh sorry, I made a mistake.

@jtojnar Please note that the used regex is the same as the one used for delayed image load.

@SSilence SSilence merged commit 90fdba0 into fossar:master Dec 19, 2016
@lumiru lumiru deleted the patch-3 branch December 20, 2016 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants