I can reproduce this too when $LANG is set to a locale not supported by the system.
As the original poster suggests, we should perhaps emit a warning but continue with some default encoding.
I can reproduce this too when $LANG is set to a locale not supported by the system.
As the original poster suggests, we should perhaps emit a warning but continue with some default encoding.