Closed ghuls closed 5 years ago
Encode HTML output as 'utf-8' when writing to stdout, so grip works also in case LANG=C or other non-UTF-8 LANG settings.
I noticed this problem when grip was called from inside Apache2, in which case LANG was not set.
grip
LANG
Only seems to work for python2.
So the only solution seems to be to set LANG=C.UTF-8 anyway.
LANG=C.UTF-8
Encode HTML output as 'utf-8' when writing to stdout, so grip works also in case LANG=C or other non-UTF-8 LANG settings.