Skip to main content

US-ASCII transliterations of Unicode text

Project description

It often happens that you have non-Roman text data in Unicode, but

you can’t display it – usually because you’re trying to show it to a user via an application that doesn’t support Unicode, or because the fonts you need aren’t accessible. You could represent the Unicode characters as “???????” or “15BA15A01610…”, 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 Unicode 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. (See the example above)

These are same meaning in both language in example above. “明天明天的风吹” for Chinese and “明日は明日の風が吹く” for Japanese. The character “明” is converted “Ming” in Chinese. “明日” is converted “Ashita” but single charactor “明” will be converted “Mei” in Japanese.

This is an improved version of Python unidecode, that is Python port of Text::Unidecode Perl module by Sean M. Burke <sburke@cpan.org>.

Project details


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.45.tar.gz (5.1 MB view details)

Uploaded Source

Built Distributions

Unihandecode-0.45-py3.2.egg (2.3 MB view details)

Uploaded Egg

Unihandecode-0.45-py2.7.egg (2.3 MB view details)

Uploaded Egg

File details

Details for the file Unihandecode-0.45.tar.gz.

File metadata

  • Download URL: Unihandecode-0.45.tar.gz
  • Upload date:
  • Size: 5.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Unihandecode-0.45.tar.gz
Algorithm Hash digest
SHA256 801b019d2f888498c6688c371d695c294220573215e842fe3e9249ed3a636e1d
MD5 2805abd9d00c67ef71aac0050a862ebd
BLAKE2b-256 5fbb2372c03efbf06d7f8d9628674526c374134afb411a4ffb6b94fc12dc2174

See more details on using hashes here.

File details

Details for the file Unihandecode-0.45-py3.2.egg.

File metadata

File hashes

Hashes for Unihandecode-0.45-py3.2.egg
Algorithm Hash digest
SHA256 989f00be3be58e8b92934cbe867be2412f34cdffae4b4fb3892f0347bd5c9071
MD5 cd40c940f13dd1292e63d9f28fffc97f
BLAKE2b-256 7c34c9edfae948a860ee1f8d3501a90deb3557702b9e48888bb5479332e3186d

See more details on using hashes here.

File details

Details for the file Unihandecode-0.45-py2.7.egg.

File metadata

File hashes

Hashes for Unihandecode-0.45-py2.7.egg
Algorithm Hash digest
SHA256 8b5f9a8b533f5c284596210519200b76ff640784fe2b8690371a92511c445449
MD5 c5037ac18e28168bfb7d9877300ef07c
BLAKE2b-256 ce476e256d1951671a497f15a9610ff09901bf6665d777fcac13f1927a5bec35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page