Fix gen_settings + UTF-8 in basic_lang