GithubHelp home page GithubHelp logo

UTF8 about node-blindparser HOT 6 CLOSED

53seven avatar 53seven commented on August 19, 2024
UTF8

from node-blindparser.

Comments (6)

kiernanmcgowan avatar kiernanmcgowan commented on August 19, 2024

Can you create a gist with some sample data so that I can have some inputs to test against? Thanks

from node-blindparser.

jcar787 avatar jcar787 commented on August 19, 2024

https://gist.github.com/d6a41ccf7ac4a55d2bdc

from node-blindparser.

jcar787 avatar jcar787 commented on August 19, 2024

Tell me if that is gonna help you. Thanks!

from node-blindparser.

kiernanmcgowan avatar kiernanmcgowan commented on August 19, 2024

After trying to find the error, I think the issue is with the encoding of the source RSS feed itself. Other feeds that use UTF-8 are rendering properly.

Are you having issues with other feeds as well?

I was able to get proper output from these feeds:

http://arabic.cnn.com/rss/cnnarabic_topnews.rss
http://cnnespanol.cnn.com/feed

from node-blindparser.

jcar787 avatar jcar787 commented on August 19, 2024

Its weird because in chrome the feed gives me special characters but not in blindparser. Another feeds return the special characters properly. Thanks.

from node-blindparser.

kiernanmcgowan avatar kiernanmcgowan commented on August 19, 2024

Just as a head up, the file that you are trying to read is not UTF-8. The XML header states that the character encoding is iso-8859-1. My guess is that this is the source of your issues.

from node-blindparser.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.