8000 Encoding improvements · littletao08/python-readability@71294f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 71294f0

Browse files
committed
Encoding improvements
1 parent 5855beb commit 71294f0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

readability/encoding.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
'big5': 'big5hkscs',
1414
'gb2312': 'gb18030',
1515
'ascii': 'utf-8',
16-
'MacCyrillic': 'cp1251',
16+
'maccyrillic': 'cp1251',
17+
'win1251': 'cp1251',
18+
'win-1251': 'cp1251',
19+
'windows-1251': 'cp1251',
1720
}
1821

1922

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="readability-lxml",
15-
version="0.5.0.2",
15+
version="0.5.0.3",
1616
author="Yuri Baburov",
1717
author_email="burchik@gmail.com",
1818
description="fast python port of arc90's readability tool",

0 commit comments

Comments
 (0)
0