Comments (4)
@sigmavirus24 Is this something you fixed? I'm trying to migrate old issues over to our new repo.
from chardet.
@dan-blanchard no, the issue in that commit refers to sv24-archive#8
from chardet.
@mlissner I don't actually see this mapping you speak of in the latest version of the HTML5 spec:
http://www.w3.org/html/wg/drafts/html/master/single-page.html#character-encodings
That said, I do think always returning CP1252 instead of Latin-1 is advisable because it gets you the quotes and things that Latin-1 doesn't, and one almost never encounters documents that purposefully have the replaced control characters in them.
from chardet.
Well... My internet connection is so slow here I can't download the whole
spec, but it might be in chapter eight? I can get the TOC, but downloading
past chapter four is killing me.
Anyway, yeah, I filed this bug after encountering a page that was reporting
Latin-1 when it had cp1252 characters, and I realized there's almost no
reason to ever return Latin-1 anymore.
On Dec 21, 2013 3:16 AM, "Dan Blanchard" [email protected] wrote:
@mlissner https://github.com/mlissner I don't actually see this mapping
you speak of in the latest version of the HTML5 spec:http://www.w3.org/html/wg/drafts/html/master/single-page.html#character-encodings
That said, I do think always returning CP1252 instead of Latin-1 is
advisable because it gets you the quotes and things that Latin-1 doesn't,
and one almost never encounters documents that purposefully have the
replaced control characters in them.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-31011860
.
from chardet.
Related Issues (3)
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 chardet.