[gopher] gopher++ (gopher1) protocol

Kim Holviala kim at holviala.com
Sun Jan 24 18:12:33 UTC 2010


On 2010-01-24 19:10, Cameron Kaiser wrote:

>> Overbite	UTF-8		OK	OK	OK	OK
>> Overbite	ISO-8859-1	Fail	Fail	OK	OK
>
> That doesn't make sense. Isn't UTF-8 a superset of ISO-8859-1? I'm happy
> that Overbite did the best, but I'm distressed it failed two of the
> ISO-8859-1 tests.

The way I see it (as a coder who hasn't taken a look at either FF or 
Overbite's sources) is that you're dumping UTF-8 to the screen as is. If 
the local charset (and font) supports it then it works fine, but if the 
local charset is ISO-8859-1 then I get the familiar mess that is wide 
chars on Latin-1.

This is what I get with LC_CTYPE=ISO-8859-1 & the latest Overbite 
(hopefully this gets through properly):

"Test with some weird characters like łŁ€öäüð in the display string"

Interesting - now that I tested it again test #2 does work with 
Overbite... So it's "Fail - OK - OK - OK" with ISO-8859-1 as the local 
charset.

If I manually change the charset to UTF-8 (View / Character Encoding / 
Unicode) then Overbite works beautifully even when the local charset is 
ISO-8859-1.



- Kim






More information about the Gopher-Project mailing list