Skip to content

Defaulting to utf-8 when chardet returns None#56

Merged
buriy merged 1 commit intoburiy:masterfrom
nathanathan:patch-1
Dec 19, 2014
Merged

Defaulting to utf-8 when chardet returns None#56
buriy merged 1 commit intoburiy:masterfrom
nathanathan:patch-1

Conversation

@nathanathan
Copy link
Copy Markdown

On articles like this one chardet returns None:
http://news.zing.vn/nhip-song-tre/thay-giao-gay-sot-tung-bo-luat-tinh-yeu/a291427.html
This causes exceptions later on when encoding.lower() is called

On articles like this one chardet returns None:
http://news.zing.vn/nhip-song-tre/thay-giao-gay-sot-tung-bo-luat-tinh-yeu/a291427.html
This causes exceptions later on when encoding.lower() is called
buriy added a commit that referenced this pull request Dec 19, 2014
Defaulting to utf-8 when chardet returns None
@buriy buriy merged commit 2d4cfdb into buriy:master Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants