Closed 82ndab-Bravo17 closed 12 years ago
0 commit in this pull request, should it be closed ?
As far as I know the issue with the $name still exists, not quite sure how to deal with it.
And there were some commits in the request when I created it, not sure where they went.....
they might have been merged already ?
These changes seem to cure most of the Encoding/Decoding problems that we were having in COD4 from names having characters >127 in them.
I have made the default encodong latin-1, as that will deal with all other encodings without an error, and setting encoding to None completely messed up all rcon communication, it threw errors for the /xff in the rcon protocol.
There is still the issue of $name in all of the message templates, which I think may be an issue with how those templates are handled by Python, rather than an issue caused by the UTF-8 encoding changes. I cannot test it, but this could be effecting all games that allow characters >127 in their names, except RO2 where I ended up repr() all of the names since I was also dealing with the website encodings.