Comments (10)
@HungryAdi yes, it's still open. You can go for it
from news-at-command-line.
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.
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.
- 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.
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.
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.
Hi if this issue still open? I would like to help if it is
from news-at-command-line.
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.
Hey! Is this issue still open? I'd like to help!
from news-at-command-line.
Hey, has this issue been resolved? If not, I'd like to help.
from news-at-command-line.
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)
- Feature Request: News Feed Via Topics. HOT 1
- Make code pep8 compliant HOT 4
- Adding options to open the saved articles. HOT 8
- news api migration to v2 HOT 5
- [Enhancement] Migrate to Python3 ? HOT 11
- Future Plans HOT 1
- Android App HOT 1
- Make Gui HOT 1
- Create for cricket HOT 1
- Multiple news sources HOT 1
- Add RSS?
- conif.yml not found
- Saving the Article to the File HOT 2
- Requirements.txt HOT 1
- creating setup file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from news-at-command-line.