This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
utf8forgood
-----------

**Tired of Python's `UnicodeDeocodeError, ascii codec can't decode?`**

Here's how to fix it, once and for all.

1. `$ pip install utf8forgood`
2. in your main program, add

```
import utf8forgood
```
If you like it, make the change permanent in your sitecustomize.py:

```
# /path/to/site-packages/sitecustomize.py
import utf8forgood
```

To find the path to `sitecustomize.py`, run `python -m site` or read up on
the [site-specific configuration hook][8].

Why?
----

In general to the above, the fastest remedy is probably trying out the following, in this order:

1. Use `PYTONIOENCODING=UTF-8 python /path/to/program.py`
2. Use the [`sys.setdefaultencoding`][1] hack. That is, unless you care [what others say][2]
3. Write your own import function to [convert data][3] appropriately, which is generally the [recommended way][4].

After [much consideration][7] and trying option 3 I finally concluded that option 2
is the straight forward way and usually [just does what you want][5], on the off-chance of [getting yourself in trouble][6].

[1]: http://stackoverflow.com/a/17628350/890242
[2]: http://stackoverflow.com/questions/28657010/dangers-of-sys-setdefaultencodingutf-8
[3]: http://stackoverflow.com/a/28760303/890242
[4]: http://stackoverflow.com/a/34378962/890242
[5]: http://stackoverflow.com/a/29558302/890242
[6]: http://stackoverflow.com/a/29561747/890242
[7]: http://stackoverflow.com/a/27745947/890242
[8]: https://docs.python.org/2/library/site.html
Release History

Release History

0.1.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
utf8forgood-0.1.4.tar.gz (2.0 kB) Copy SHA256 Checksum SHA256 Source Sep 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting