File encoding

Markus Kuhn Markus.Kuhn at cl.cam.ac.uk
Fri Dec 3 13:19:48 PST 2004


Alan Cox wrote on 2004-11-05 13:42 UTC:
> On Gwe, 2004-11-05 at 14:34, David Reveman wrote:
> > On Thu, 2004-11-04 at 21:32 -0500, Owen Taylor wrote:
> > > Just noticed that all the files that were added in xserver/hw/xgl
> > > have iso-8859-1 not © UTF-8 signs in them. I'd think that we could join
> > > the 21st century and at least for new files use UTF-8.
> > 
> > fixed.
> 
> Be careful what the C compiler accepts. Portability argues if anything
> for not using the © symbol.

The various variants of ISO 8859 are no more portable today than UTF-8,
so no harm can be done by replacing ISO 8859 characters with the
corresponding UTF-8 characters. And it is nice if contributors can spell
their name correctly in comment lines.

I'll have a go at converting xc to UTF-8. Little harm can be done where
only C comments and README.txt files are concerned, which is the vast
majority of where non-ASCII ISO 8859 characters are found in the code at
present.

Markus

-- 
Markus Kuhn, Computer Lab, Univ of Cambridge, GB
http://www.cl.cam.ac.uk/~mgk25/ | __oo_O..O_oo__




More information about the xorg mailing list