[Freeciv-Dev] (PR#9660) bug in shared.c:607
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
|
|