Author: bkuhn
Date: Sat Nov 29 13:49:49 2008
New Revision: 5077
URL: http://svn.gna.org/viewcvs/pokersource?rev=5077&view=rev
Log:
ISO-8859-1 forced for strings from gettext(): Merges my changes from the r5068
on the locale-server-side branch
The only *client*-visible change is that clients should *not* pass the
encoding portion of the locale setting: PACKET_POKER_SET_LOCALE should
send "la_CO" or "la" only. All encodings are being sent out over the JSON
interface as Unicode entities (not UTF-8 per se).
Internally now, all strings from poker-engine are floating around in
ISO-8859-1, and are converted back to Unicode when they are sent on the
wire on the JSON interface. I don't know for sure what the behavior will
be on the binary packet interface; likely they will be forced to
ISO-8859-1.
Long term, this solution isn't viable. We need to adjust how things work
so that the encodings can stay in their native format requested by the
client/database setting.
Merge commit 'svn/locale-server-side' into bkuhn/trunk
Conflicts:
poker-network/ChangeLog
poker-network/pokernetwork/pokerservice.py
poker-network/tests/test-pokerservice.py.in
Modified:
trunk/poker-network/ChangeLog
trunk/poker-network/conf/poker.server.xml.in
trunk/poker-network/pokernetwork/pokeravatar.py
trunk/poker-network/pokernetwork/pokerpackets.py
trunk/poker-network/pokernetwork/pokerservice.py
trunk/poker-network/pokernetwork/pokersite.py
trunk/poker-network/tests/test-pokeravatar.py.in
trunk/poker-network/tests/test-pokerservice.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits