[Freeciv-Dev] Re: (PR#6979) too long translated string causes client cra
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6979 >
On Sun, Jan 18, 2004 at 10:43:03AM -0800, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6979 >
>
> > [i-freeciv-lists@xxxxxxxxxxxxx - Sat Nov 29 13:16:57 2003]:
>
> > Genevieve: you can safely remove the assert.
> >
> > Vasco, other: I feel that the assert should stay. I'm not sure however
> > what the solution should be.
>
> The client shouldn't assert because of a string sent to it by the server.
It isn't caused by the server but by the client. The client expands
the string because of utf-8. See also PR#7226 which we discussed on
IRC.
The real solution is to change the code from measuring bytes to
measuring characters.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"It is not yet possible to change operating system by writing
to /proc/sys/kernel/ostype." sysctl(2) man page
|
|