Skip to main content

These functions are copied from the source code of Django 1.5b2. And provides smart functions for convertation into utf8 and other encodings without Django. For example, I use in the Flask.

https://secure.travis-ci.org/adw0rd/smartencoding.png

Installation:

pip install smartencoding

How to use:

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

See also:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smartencoding-0.3.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file smartencoding-0.3.tar.gz.

File metadata

  • Download URL: smartencoding-0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for smartencoding-0.3.tar.gz
Algorithm Hash digest
SHA256 ce795a4e82188eabb94796aa3db07d25b75febdae89cdd80dcc8cd28de1523ea
MD5 a4ca275d6b1e82f9dc606a8d52bbf96e
BLAKE2b-256 f650624913a4122e4639126769abe9c33ffb5c09baac360fd0eadcfde8e5ab37

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3 This release

1 file

0.1

Supported by

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