Skip to content

Conversation

dive
Copy link

@dive dive commented Sep 9, 2012

Some optimization for encoding detection. I think there is no need to detect encoding manually, parser can do it for you, but I added some code for encoding detection from XML info header. Tested on some UTF-8 RSS and CP-1251 encoding (you can see diff at your head and my pull request at this link http://svpressa.ru/xml/news.xml).
See 9f57580 for memory leak fix. Sorry :)

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.

1 participant