Here you go:
{harri@cecil:~ (master) 501} python3 -c 'import locale;
print(locale.getpreferredencoding())'
ANSI_X3.4-1968Shouldn't dput use UTF-8, no matter what? Its beyond my control, which encoding is used in a foreign source package. Regards Harri

