Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9660) bug in shared.c:607
Home

[Freeciv-Dev] (PR#9660) bug in shared.c:607

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: dnielsen@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9660) bug in shared.c:607
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 2004 21:46:25 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9660 >

This is a problem.

MAX_LEN_NAME limits "names" to 32 "characters".

However this is a problem because neither "name" nor "character" is well
defined.  The limitation applies to translated names as well as
untranslated.  And the restriction isn't really on characters, it's on
bytes - which changes depending on the charset in use.

Raimar's proposed solution to the second problem was to use UTF-16. 
However there is still the problem of translations.  Do you want to add
/* TRANS: Only 32 characters long */ in front of every name?

Otherwise we need to remove this limit.  It can still apply to the ascii
names but not to the translated ones.

jason



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