-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I believe this patch will correct the current problem with encoding of
translated string sent over the HTTP interface.

Feel free to apply it to trunk.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkwSOIACgkQZmEdV9SHoe4NXACfYRZpMUD5wN5eNsJcbfofKMjs
br0AnROo4Gnyd3LmfD1XnZaFi0wy0dYD
=O/FN
-----END PGP SIGNATURE-----
Index: pokernetwork/pokerservice.py
===================================================================
--- pokernetwork/pokerservice.py        (revision 5048)
+++ pokernetwork/pokerservice.py        (working copy)
@@ -366,7 +366,7 @@
         gettext.bind_textdomain_codeset("poker-engine", lang)
         gettext.install("poker-engine")
         try:
-            myGetTextFunc = gettext.translation('poker-engine', 
languages=[lang]).gettext
+            myGetTextFunc = gettext.translation('poker-engine', 
languages=[lang], codeset="iso-8859-1").gettext
         except IOError, e:
             self.error("No translation to locale %s in poker-engine; locale 
ignored: %s"
                        % (lang, e))
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to