Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2445) problem with hungarian nation in gui-gtk
Home

[Freeciv-Dev] Re: (PR#2445) problem with hungarian nation in gui-gtk

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jason Short via RT <rt@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2445) problem with hungarian nation in gui-gtk
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Thu, 28 Nov 2002 23:38:02 +0000 (WET)

On Thu, 28 Nov 2002, Jason Short via RT wrote:

>
> I'm using gui-gtk on a RH8.0 system, and I played as the Hungarians.  I
> don't know if this issue is specific to gui-gtk, or affects all GUIs.  I
> also don't know if it affects 1.14; I'm using CVS Head.
>
> When I play as the Hungarians, most of the time when I try to found a
> city the default city name is blank.  Obviously this is not too good.
> If I keep trying, eventually I'll get an actual city name.
>
> The first city I founded was Budapest, but after that it got
> progressively more difficult to find a real city name.
>
> I believe the problem is with the accented characters used for many
> Hungarian city names.

export LANG=en_US.ISO-8859-1;./civ

The GTK+ 1.2 client does not support UTF-8. If someone has a fix please
let me know.
I think there is no way to support it with GTK+ 1.2. At least I know of no
GTK+ 1.2 app which has support. This includes X-Chat, Gaim and so on.

Try typing an accented characted in X-Chat and you will see what I mean.


A more serious problem is that civserver when in an UTF-8 locale will get
all confused since it is not UTF-8 clean and worse of it all includes
ISO-8859-1 strings in the nation rulesets.

I really believe we should enforce a pure ASCII strings in source code
policy. Leave translation to gettext(). This is what the UNIX X/Open
people say anyway.

This means all leader/nation names whatever should be in ASCII. Maybe
we could use the English translations of the names instead of the
names in the native language? This is what Civ II did IIRC.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa



[Prev in Thread] Current Thread [Next in Thread]