diff --git a/CHANGES.md b/CHANGES.md index 1bc07bea..3e09d070 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ * Update SimpleJSON library 3.10.0 (c52efea) to 3.13.2 (6ffddbe) * Update Six compatibility library 1.10.0 (r433) to 1.11.0 (68112f3) * Update Tornado Web Server 4.5.1 (79b2683) to 5.0.1 (35a538f) +* Update unidecode library 0.04.21 (e99b0e3) to 1.0.22 (81f938d) [develop changelog] diff --git a/lib/unidecode/__init__.py b/lib/unidecode/__init__.py index 3b68de4c..5d968fdb 100644 --- a/lib/unidecode/__init__.py +++ b/lib/unidecode/__init__.py @@ -3,7 +3,7 @@ """Transliterate Unicode text into plain 7-bit ASCII. Example usage: ->>> from unidecode import unidecode: +>>> from unidecode import unidecode >>> unidecode(u"\u5317\u4EB0") "Bei Jing " diff --git a/lib/unidecode/x000.py b/lib/unidecode/x000.py index c3f8f515..27e8d684 100644 --- a/lib/unidecode/x000.py +++ b/lib/unidecode/x000.py @@ -76,9 +76,9 @@ data = ( '1', # 0xb9 'o', # 0xba '>>', # 0xbb -'1/4', # 0xbc -'1/2', # 0xbd -'3/4', # 0xbe +' 1/4 ', # 0xbc +' 1/2 ', # 0xbd +' 3/4 ', # 0xbe '?', # 0xbf 'A', # 0xc0 'A', # 0xc1 diff --git a/lib/unidecode/x005.py b/lib/unidecode/x005.py index 85d6abbc..ced54426 100644 --- a/lib/unidecode/x005.py +++ b/lib/unidecode/x005.py @@ -161,7 +161,7 @@ data = ( '', # 0x9f '', # 0xa0 '', # 0xa1 -'[?]', # 0xa2 +'', # 0xa2 '', # 0xa3 '', # 0xa4 '', # 0xa5 @@ -185,20 +185,20 @@ data = ( 'a', # 0xb7 'a', # 0xb8 'o', # 0xb9 -'[?]', # 0xba +'o', # 0xba 'u', # 0xbb '\'', # 0xbc '', # 0xbd '-', # 0xbe -'', # 0xbf +'-', # 0xbf '|', # 0xc0 '', # 0xc1 '', # 0xc2 ':', # 0xc3 '', # 0xc4 -'[?]', # 0xc5 -'[?]', # 0xc6 -'[?]', # 0xc7 +'', # 0xc5 +'n', # 0xc6 +'o', # 0xc7 '[?]', # 0xc8 '[?]', # 0xc9 '[?]', # 0xca @@ -207,14 +207,14 @@ data = ( '[?]', # 0xcd '[?]', # 0xce '[?]', # 0xcf -'', # 0xd0 +'A', # 0xd0 'b', # 0xd1 'g', # 0xd2 'd', # 0xd3 'h', # 0xd4 'v', # 0xd5 'z', # 0xd6 -'kh', # 0xd7 +'KH', # 0xd7 't', # 0xd8 'y', # 0xd9 'k', # 0xda @@ -228,11 +228,11 @@ data = ( '`', # 0xe2 'p', # 0xe3 'p', # 0xe4 -'ts', # 0xe5 -'ts', # 0xe6 +'TS', # 0xe5 +'TS', # 0xe6 'q', # 0xe7 'r', # 0xe8 -'sh', # 0xe9 +'SH', # 0xe9 't', # 0xea '[?]', # 0xeb '[?]', # 0xec @@ -240,13 +240,13 @@ data = ( '[?]', # 0xee '[?]', # 0xef 'V', # 0xf0 -'oy', # 0xf1 +'OY', # 0xf1 'i', # 0xf2 '\'', # 0xf3 '"', # 0xf4 -'[?]', # 0xf5 -'[?]', # 0xf6 -'[?]', # 0xf7 +'v', # 0xf5 +'n', # 0xf6 +'q', # 0xf7 '[?]', # 0xf8 '[?]', # 0xf9 '[?]', # 0xfa diff --git a/lib/unidecode/x020.py b/lib/unidecode/x020.py index bee561b0..46425bf0 100644 --- a/lib/unidecode/x020.py +++ b/lib/unidecode/x020.py @@ -175,22 +175,22 @@ data = ( 'K', # 0xad 'T', # 0xae 'Dr', # 0xaf -'[?]', # 0xb0 -'[?]', # 0xb1 -'[?]', # 0xb2 -'[?]', # 0xb3 -'[?]', # 0xb4 -'[?]', # 0xb5 -'[?]', # 0xb6 -'[?]', # 0xb7 -'[?]', # 0xb8 -'[?]', # 0xb9 -'[?]', # 0xba -'[?]', # 0xbb -'[?]', # 0xbc -'[?]', # 0xbd -'[?]', # 0xbe -'[?]', # 0xbf +'Pf', # 0xb0 +'P', # 0xb1 +'G', # 0xb2 +'A', # 0xb3 +'UAH', # 0xb4 +'C|', # 0xb5 +'L', # 0xb6 +'Sm', # 0xb7 +'T', # 0xb8 +'Rs', # 0xb9 +'L', # 0xba +'M', # 0xbb +'m', # 0xbc +'R', # 0xbd +'l', # 0xbe +'BTC', # 0xbf '[?]', # 0xc0 '[?]', # 0xc1 '[?]', # 0xc2