Giter VIP home page Giter VIP logo

Comments (2)

buriy avatar buriy commented on July 19, 2024

Thanks, this is a good idea.
I will try to resolve this issue in few nearest days.

On Mon, Apr 15, 2013 at 10:48 PM, Cosmologist [email protected]:

Hello!
How to store information about the charset ()?
When I process documents that are not encoded in utf-8 - charset
information is lost and I can not correctly display the processed document
to the user.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34
.

Best regards, Yuri V. Baburov, Skype: yuri.baburov, MSN: [email protected]

from python-readability.

buriy avatar buriy commented on July 19, 2024

Guessed charset is now saved into Document.encoding field, but I won't like to find a meta with Content-Type cause it's not always truth-worthy.
The package approach don't suppose you will attempt to reverse the process -- e.g. it replaces/wraps < br >-separated lines with < p >< /p >.
You can save the document in the any encoding you like -- not sure why it is the problem.

from python-readability.

Related Issues (20)

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.