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

Uploaded Source

Built Distributions

Unihandecode-0.50-py3-none-any.whl (5.4 MB view details)

Uploaded Python 3

Unihandecode-0.50-py2-none-any.whl (5.4 MB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for Unihandecode-0.50.tar.gz
Algorithm Hash digest
SHA256 b4c12a7430843467576ecd4a03585f25970c0fddcba8ad47a37fa362251a8f9e
MD5 4209841643219c5434852df47b056f2d
BLAKE2b-256 33ccfc8354f24bad94daae40849641167b65bee0e68b54ab25e1cc6ceeab7be2

See more details on using hashes here.

File details

Details for the file Unihandecode-0.50-py3-none-any.whl.

File metadata

File hashes

Hashes for Unihandecode-0.50-py3-none-any.whl
Algorithm Hash digest
SHA256 9de83146bf4afe76f2d75bbd27487fe32eb60c90d5432cbccf3cddc5fbcbe8b2
MD5 d702aa7777645ee8431ecf446550b940
BLAKE2b-256 86fbf4a73b868d67464fbc9e8af4babb8bd6bfb6db3b2762804ea4ea0407c012

See more details on using hashes here.

File details

Details for the file Unihandecode-0.50-py2-none-any.whl.

File metadata

File hashes

Hashes for Unihandecode-0.50-py2-none-any.whl
Algorithm Hash digest
SHA256 78cc074c9a6786d845b125660925b826e36fd2996f9944e62aca7754ac4f1fb4
MD5 269aefa390eb63ad35e3f1170420cc05
BLAKE2b-256 3638e76882bf2fc58aea4c88aec6a5d75c59881bd5bcc04dc7023fb25d3cd804

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