Re: A bug in gtetrinet



El sáb, 03-04-2004 a las 01:31, Nicolas escribió:
> Hello everybody !!!
[snip]
> In french, the translation make some strange code instead of the letter, like 
> the é or the è. Would it be possible to correct this be using, for example, 
> utf8, in the list discussion, in the high score, and in the nickname too.

Well, the fact is that everything that comes from the tetrinet server
(which is the chat, the nicknames, etc) is encoded in whatever encoding
scheme the server likes to apply. Right now we can't auto-detect what
encoding is the server using, so we can't translate it to UTF-8.

GTetrinet assumes that the server is using the ISO-8859-1 encoding (it's
the most widely used), so it encodes everything it sends through the
wire to standard ISO-8859-1, and it decodes everything it receives from
ISO-8859-1 to UTF-8. This means that if the server is already sending
everything in UTF-8, it gets double-encoded and you see the UTF-8 codes
in your screen.

> It will be really great...

We've already thought about a dialog to let the user choose which
encoding is the server using, but that's still an idea.

> Thank you very much for this wonderful games !!!

Thanks to you for your bug report !! :D

-- 
#include <gnome.h>

// By Daniel Carbonell Fraj, mamón itinerante
// Public GnuPG key  $ gpg --recv-keys --keyserver wwwkeys.pgp.net 73D91D7E
                                       _
                                      / \
                                      \ /
          We deserve a better world    X
                                      / \

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]