Fix for non-ASCII characters in LANGUAGES.name in 3.0

Forwardport of #2186