Giter Club home page Giter Club logo

Comments (10)

Griffintaur avatar Griffintaur commented on September 24, 2024 1

@HungryAdi yes, it's still open. You can go for it

from news-at-command-line.

vsingh0075 avatar vsingh0075 commented on September 24, 2024

Hi, I am totally a beginner here. I have read the code and I want to help. Can you please elaborate what codecs you are talking about ?

from news-at-command-line.

Griffintaur avatar Griffintaur commented on September 24, 2024

The codec is basically an encoding used to represent characters.You might have heard of ASCII, UTF-8. These are the types of the encoding.You might receive some SMS in different languages on your phones and your phones might not be able to handle those languages, then what should be done in that case?

The problem is if we receive some text from websites requests where different encoding is used and now if we want to output the same text on the screen where different encoding is used, then there may be some inconsistency between the two different methods of encoding.
what we want to do here.

  1. either check the encoding the output part and enforce the text before flushing to output to be in the same encoding and replace the characters where there is no matching with some predetermined characters?
    2.make the output to be in sync with encoding used for the text.

from news-at-command-line.

vsingh0075 avatar vsingh0075 commented on September 24, 2024

Yeah, we should keep a standard encoding.
I think we can use pyicu module to check the encoding of data fetched from News server and convert all the data to only say, UTF-8.

from news-at-command-line.

Griffintaur avatar Griffintaur commented on September 24, 2024

Go ahead and try that out and submit a pull request if things go as per your plan.
you can start by looking into the news pulling file where we get the downloaded html file
Contact me for any help if needed....
Best wishes from my side

from news-at-command-line.

agiridharan avatar agiridharan commented on September 24, 2024

Hi if this issue still open? I would like to help if it is

from news-at-command-line.

Griffintaur avatar Griffintaur commented on September 24, 2024

Yes, it is open. and if u want more description about the issue, you should check my comments in this thread

from news-at-command-line.

HungryAdi avatar HungryAdi commented on September 24, 2024

Hey! Is this issue still open? I'd like to help!

from news-at-command-line.

kalbhor avatar kalbhor commented on September 24, 2024

Hey, has this issue been resolved? If not, I'd like to help.

from news-at-command-line.

wflores96 avatar wflores96 commented on September 24, 2024

Not sure if this has been addressed yet and also not super familiar with encoding or requests, but I took a crack at it and submitted a PR #17

from news-at-command-line.

Related Issues (16)

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.