Re: [evolution-patches] 17338 - Translator Credits in About Box



On Tue, 2004-09-07 at 15:37 -0400, Dan Winship wrote:
On Tue, 2004-09-07 at 15:01 -0400, JP Rosevear wrote:
> Also, the utf8 comment seems odd, could this be a pre 1.4 hold over? I
> didn't escape some new people and that seemed to work fine.

\x is greedy, so if you say "Garc\xC3\xADa", it's parsed as "Garc\xC3"
plus a "warning: hex escape sequence out of range". It's only a problem
for \x escapes followed by a valid hex digit as the next character
though, which is probably why you didn't have any problems with it.

> +       "Danilo Šegan",

You should either use \x escapes there, or use actual UTF-8 chars
consistently through the whole array.

Yeah I think so.  If anyone ever edits it with the wrong locale it could break it.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]