Skip to content

remove _unicodefun #2198

@davidism

Description

@davidism

Same as pallets/werkzeug#1760, Python 3.7+ picks UTF-8 instead of ASCII for misconfigured systems. Since we are dropping Python 3.6, we can drop the check.

~ 
❯ LANG= LC_ALL= python3.6 -c 'import locale, codecs; print(codecs.lookup(locale.getpreferredencoding()).name)'
ascii

~ 
❯ LANG= LC_ALL= python3.7 -c 'import locale, codecs; print(codecs.lookup(locale.getpreferredencoding()).name)'
utf-8

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions