CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 13:32:54 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"eb0ad0284472b16919aeea8a889c1abd"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=6d%2Fl65ahY%2FRAIN1troOu3eb83%2FD0UPD68oS%2FBfbs3gvgp5Oail4d1o%2FX1AeCzbj61tkqjRPuY%2FMYdHXl5R1RZor%2B%2FYx0TQRIGn7OMJoOvUzR%2FahBD%2BMQHF0cPI3zpjRRgySX1Pghh6ThOyQC3WCQz5CqA%2FCourKeDJsKzVVjK%2BRByQdWdd9H1SKNE5sjbheGh%2BdKb6gReoH5rsv12sQI8xdbgT6qAjexFbzfwrebs3FVMVmzOFa%2FBc1%2Bn0dGmGHXKDj7n5uzIgzk22REkQd8xQ%3D%3D--WK%2FXEByumaWlHJpE--sgU%2BuXaS28seR2DlrKE3iA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1949444159.1753623173; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 13:32:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 13:32:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E6CE:10904:526DA1:6DB42F:68862A85
GitHub - takluyver/Unidecode: A python module to reduce Unicode to a 'good enough' ASCII representation (outdated Github copy)
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 7
A python module to reduce Unicode to a 'good enough' ASCII representation (outdated Github copy)
takluyver/Unidecode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Unidecode ASCII transliterations of Unicode text EXAMPLE USE from unidecode import unidecode print unidecode(u"\u5317\u4EB0") # That prints: Bei Jing 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 "\15BA\15A0\1610...", 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. (See the example above) This is a Python port of Text::Unidecode Perl module by Sean M. Burke <sburke@cpan.org>. REQUIREMENTS Nothing except Python itself. INSTALLATION You install Unidecode, as you would install any Python module, by running these commands: python setup.py install python setup.py test SUPPORT Questions, bug reports, useful code bits, and suggestions for Unidecode should be sent to tomaz@zemanta.com AVAILABILITY The latest version of Unidecode is available from the GIT repository at https://code.zemanta.com/tsolc/git/wikiprep You can get it by running: git clone https://code.zemanta.com/tsolc/git/wikiprep COPYRIGHT Character transliteration tables: Copyright 2001, Sean M. Burke <sburke@cpan.org>, all rights reserved. Python code: Copyright 2009, Tomaz Solc <tomaz@zemanta.com> The programs and documentation in this dist are distributed in the hope that they will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. This library is free software; you can redistribute it and/or modify it under the same terms as Perl.
About
A python module to reduce Unicode to a 'good enough' ASCII representation (outdated Github copy)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
You can’t perform that action at this time.