[Lazarus] MacOSAll.pas has invalid UTF-8 characters

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 23 00:48:52 CEST 2008


On Wed, 22 Oct 2008 14:20:21 +0200
"Graeme Geldenhuys" <graemeg.lists at gmail.com> wrote:

> On Wed, Oct 22, 2008 at 1:57 PM, Florian Klaempfl
> <florian at freepascal.org> wrote:
> >>
> >>>From what I can gather the following unit seems to have invalid
> >>>UTF-8 characters
> >>   <fpc>/packages/univint/src/MacOSAll.pas
> >
> > What makes you think the file is utf-8 encoded?
> 
> 
> Because Martin Schreiber said so. ;-)  I noticed an issue with his
> MSEide project not being able to open that file. He reported that it's
> an invalid UTF-8 sequence causing the problem. So I assumed the file
> is utf-8 encoded.

AFAIK the original c header files are UTF-8 encoded.
Maybe the translation utility did some conversion.

Lazarus opens it as ISO-8859-1, which allows even some basic editing
without loosing/destroying data.

Mattias



More information about the Lazarus mailing list