diff --git a/pisi-cli b/pisi-cli index 28786c55..9f30d74d 100755 --- a/pisi-cli +++ b/pisi-cli @@ -11,8 +11,9 @@ # import sys - +import locale import gettext + __trans = gettext.translation('pisi', fallback=True) _ = __trans.ugettext @@ -58,6 +59,7 @@ Please file a bug report! (http://bugs.uludag.org.tr) sys.exit(1) if __name__ == "__main__": + locale.setlocale(locale.LC_ALL, '') sys.excepthook = handle_exception diff --git a/po/tr.po b/po/tr.po index 9c8176d2..f355ee7c 100644 --- a/po/tr.po +++ b/po/tr.po @@ -10,7 +10,7 @@ msgstr "" "Last-Translator: Eray Ozkural \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-9\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n"