Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] enable UTF8 per default?
Date: Tue, 28 Feb 2006 17:58:47
Message-Id: 20060228175302.2117919f@snowdrop.home
In Reply to: Re: [gentoo-dev] enable UTF8 per default? by solar
1 On Tue, 28 Feb 2006 12:47:33 -0500 solar <solar@g.o> wrote:
2 | I forget where I read it but I thought that unicode lead to overflows
3 | and was considered a general security risk. I wish I knew where I read
4 | that but I'm unable to find it.
5 |
6 | Any list readers know anything relating to that?
7
8 Eh, not really. With non-utf-8 you could argue that it's an increased
9 risk, since you get non-string-terminating nulls, but with utf-8 those
10 aren't an issue.
11
12 It's not really a very well substantiated claim. It's like saying "GUI
13 programming leads to bugs" or "internationalisation leads to program
14 crashes". Yes, it's possible (in C, anyway) to screw up your buffer
15 routines when converting code to handle utf-8, but then it's always
16 possible to screw up buffer routines.
17
18 --
19 Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
20 Mail : ciaranm at gentoo.org
21 Web : http://dev.gentoo.org/~ciaranm

Attachments

File name MIME type
signature.asc application/pgp-signature