httpie-cli/httpie/output
Mickaël Schoentgen c6cbc7dfa5
Uniformize UTF-8 naming (#1115)
* Uniformize UTF-8 naming

Replace `utf8` -> `utf-8` everywhere.
It should have no impact, `utf8` is an alias of `utf-8` [1].

[1] ee03bad25e/Lib/encodings/aliases.py (L534)

* Always specify the encoding

Let's be explicit over implicit. And prevent future warnings from PEP-597 [1].

[1] https://www.python.org/dev/peps/pep-0597/#using-the-default-encoding-is-a-common-mistake

* Update `UTF8` constant (`utf-8` -> `utf_8`)

* Remove default argument from `str.encode()` and `bytes.decode()`

* Clean-up
2021-08-05 20:58:43 +02:00
..
formatters Polish Python 2 removal (#1070) 2021-05-27 13:05:41 +02:00
__init__.py Modularized output, refactoring 2014-04-27 21:58:00 +02:00
processing.py Use relative imports (#1057) 2021-05-05 14:13:39 +02:00
streams.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
writer.py Minor clean-up (#1112) 2021-07-26 23:56:38 +02:00