Skip to main content

Python smart encoding (smart_unicode and other functions)

Project description

These functions are copied from the source code of Django 1.5b2. And provides smart convertation into utf8 and other encodings.

How to use:

from smartencoding import smart_unicode, smart_unicode_with_replace
print smart_unicode(some_string)
print smart_unicode_with_replace(broken_string)

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page