US-ASCII transliterations of Unicode text
Project description
BA
A0q0...", but
that's nearly useless to the user who actually wants to read what
the text says.
What Unihandecode provides is a function, 'decode(...)' that
takes Unihancode data and tries to represent it in ASCII characters
(i.e., the universally displayable characters between 0x00 and 0x7F).
The representation is almost always an attempt at transliteration
-- i.e., conveying, in Roman letters, the pronunciation expressed by
the text in some other writing system.
For example;
>>>d = Unidecoder()
>>>d.decode(u"\u5317\u4EB0")
'Bei Jing'.
d = Unidecoder(lang='ja')
>>>d.decode(u"\u5317\u4EB0")
'Pe King'
Platform: UNKNOWN
Provides: unihandecode
that's nearly useless to the user who actually wants to read what
the text says.
What Unihandecode provides is a function, 'decode(...)' that
takes Unihancode data and tries to represent it in ASCII characters
(i.e., the universally displayable characters between 0x00 and 0x7F).
The representation is almost always an attempt at transliteration
-- i.e., conveying, in Roman letters, the pronunciation expressed by
the text in some other writing system.
For example;
>>>d = Unidecoder()
>>>d.decode(u"\u5317\u4EB0")
'Bei Jing'.
d = Unidecoder(lang='ja')
>>>d.decode(u"\u5317\u4EB0")
'Pe King'
Platform: UNKNOWN
Provides: unihandecode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Unihandecode-0.81.tar.gz
(1.8 MB
view hashes)
Built Distribution
Close
Hashes for Unihandecode-0.81-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 432a31d6b765abd8b9ce16ef7f63b7de653abdfe98f486ea5ea398b2146faf6f |
|
MD5 | 5afb6611aa1730be1a0d3f385f2fcd7c |
|
BLAKE2b-256 | f4803a71df8167ecb2eda3bc26f675992f337c44cbaadf09d03e73d376229635 |