Skip to content

Commit c55e006

Browse files
committed
Add a guide for 'UnicodeEncodeError' #45
1 parent 2e62bda commit c55e006

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Dump the software license list of Python packages installed with pip.
3232
* [Option: output\-file](#option-output-file)
3333
* [More Information](#more-information)
3434
* [Dockerfile](#dockerfile)
35+
* [About UnicodeEncodeError](#about-unicodeencodeerror)
3536
* [License](#license)
3637
* [Dependencies](#dependencies)
3738
* [Uninstallation](#uninstallation)
@@ -415,6 +416,17 @@ If you want to resolve build environment issues, try adding `build-base` package
415416
&& source ${APPDIR}/myapp/bin/activate
416417
```
417418

419+
## About UnicodeEncodeError
420+
421+
If a `UnicodeEncodeError` occurs, check your environment variables `LANG` and `LC_TYPE`.
422+
423+
Often occurs in isolated environments such as Docker and tox.
424+
425+
See useful reports:
426+
427+
* [#35](https://github.com/raimon49/pip-licenses/issues/35)
428+
* [#45](https://github.com/raimon49/pip-licenses/issues/45)
429+
418430
## License
419431

420432
[MIT License](https://github.com/raimon49/pip-licenses/blob/master/LICENSE)

0 commit comments

Comments
 (0)