Skip to main content

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 ” BA A0q0…”, but that’s nearly useless to the user who actually wants to read what the text says.

What Unidecode provides is a function, ‘unidecode(…)’ 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.

For example ‘unidecode(u”u5317u4EB0”)’ returns ‘Bei Jing’.

This is a Python port of Text::Unidecode Perl module by Sean M. Burke <sburke@cpan.org>.

Metadata

Release files for Unidecode 0.04.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Unidecode 0.04.6
File Size Uploaded
Unidecode-0.04.6.tar.gz 188.5 kB Details

Release files / Unidecode-0.04.6.tar.gz

Download URL Unidecode-0.04.6.tar.gz
Size 188.5 kB
Tags Source
SHA-256 checksum
How to use checksums
675147f16e5d1584588cf5ad88d2c2fd71d1b06878ae10ec0c3176dcdfb2310d
BLAKE2b-256 checksum
How to use checksums
8798b66cb1c228f19ea309fbe932ac3d1ccf7dfc40a649f20b6af43a31d71387
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.4.0

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

1 release file

1.0.23

2 release files

0.04.19

1 release file

0.04.18

1 release file

0.04.17

1 release file

0.04.16

1 release file

0.04.14

1 release file

0.04.13

1 release file

0.04.12

1 release file

0.04.11

1 release file

0.04.9

1 release file

0.04.8

1 release file

0.04.7

1 release file

This release

0.04.6 This release

1 release file

0.04.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page