diff options
| author | Tomaz Solc <tomaz.solc@tablix.org> | 2020-12-20 12:14:38 +0100 |
|---|---|---|
| committer | Tomaz Solc <tomaz.solc@tablix.org> | 2020-12-20 12:19:52 +0100 |
| commit | 8bb20f3ce013d9aeef234648e0c0dc75a765d4a1 (patch) | |
| tree | 781d12a0f51374e5d31402b1ef6e95edc0bbd370 /unidecode/x04e.py | |
| parent | 3529535286cabf4f29eb0074a59c7d07eb975d32 (diff) | |
| download | unidecode-8bb20f3ce013d9aeef234648e0c0dc75a765d4a1.tar.gz | |
Mass replace '[?] ' -> None
To make use of the new 'errors' argument.
It seems that '[?] ' (with space) was used for code points that were assigned,
but the replacement was not known.
Diffstat (limited to 'unidecode/x04e.py')
| -rw-r--r-- | unidecode/x04e.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unidecode/x04e.py b/unidecode/x04e.py index b472b85..6037a63 100644 --- a/unidecode/x04e.py +++ b/unidecode/x04e.py @@ -5,7 +5,7 @@ data = ( 'Qi ', # 0x03 'Shang ', # 0x04 'Xia ', # 0x05 -'[?] ', # 0x06 +None, # 0x06 'Mo ', # 0x07 'Zhang ', # 0x08 'San ', # 0x09 @@ -73,7 +73,7 @@ data = ( 'Zhe ', # 0x47 'Yao ', # 0x48 'Yi ', # 0x49 -'[?] ', # 0x4a +None, # 0x4a 'Zhi ', # 0x4b 'Wu ', # 0x4c 'Zha ', # 0x4d @@ -90,7 +90,7 @@ data = ( 'Cheng ', # 0x58 'Yi ', # 0x59 'Yin ', # 0x5a -'[?] ', # 0x5b +None, # 0x5b 'Mie ', # 0x5c 'Jiu ', # 0x5d 'Qi ', # 0x5e @@ -100,7 +100,7 @@ data = ( 'Gai ', # 0x62 'Diu ', # 0x63 'Hal ', # 0x64 -'[?] ', # 0x65 +None, # 0x65 'Shu ', # 0x66 'Twul ', # 0x67 'Shi ', # 0x68 @@ -109,7 +109,7 @@ data = ( 'Jia ', # 0x6b 'Kel ', # 0x6c 'Shi ', # 0x6d -'[?] ', # 0x6e +None, # 0x6e 'Ol ', # 0x6f 'Mai ', # 0x70 'Luan ', # 0x71 @@ -124,7 +124,7 @@ data = ( 'Sol ', # 0x7a 'El ', # 0x7b 'Cwul ', # 0x7c -'[?] ', # 0x7d +None, # 0x7d 'Gan ', # 0x7e 'Chi ', # 0x7f 'Gui ', # 0x80 @@ -169,7 +169,7 @@ data = ( 'Chan ', # 0xa7 'Heng ', # 0xa8 'Mu ', # 0xa9 -'[?] ', # 0xaa +None, # 0xaa 'Xiang ', # 0xab 'Jing ', # 0xac 'Ting ', # 0xad @@ -232,7 +232,7 @@ data = ( 'Chao ', # 0xe6 'Chang ', # 0xe7 'Sa ', # 0xe8 -'[?] ', # 0xe9 +None, # 0xe9 'Yi ', # 0xea 'Mu ', # 0xeb 'Men ', # 0xec |
