Closed Griffintaur closed 6 years ago
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 ?
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.
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.
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
Hi if this issue still open? I would like to help if it is
Yes, it is open. and if u want more description about the issue, you should check my comments in this thread
Hey! Is this issue still open? I'd like to help!
@HungryAdi yes, it's still open. You can go for it
Hey, has this issue been resolved? If not, I'd like to help.
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
There is some issue while printing output using different codecs.