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

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 23 21:34:56 CEST 2008


On Thu, 23 Oct 2008 16:53:42 +0200
JoshyFun <joshyfun at gmail.com> wrote:

> Hello Graeme,
> 
> Thursday, October 23, 2008, 9:24:30 AM, you wrote:
> 
> GG> Most editors don't have issues opening that file, but if you
> GG> browse it you can see the odd characters (quite a few) that seems
> GG> out of place. "kwrite" makes them easy to spot - it highlights
> GG> them with a ? on a black circle. In Lazarus IDE they mostly
> GG> appear as a 'A' character with a small circle above it. I don't
> GG> believe that was in the original C header file.
> 
> That character ($C5) seens to be some kind of mask character in MacOS,
> and it is being used in the comments as just a mask, replacing it by
> '*' will clarify the meaning (something like)
> 
> ----------------
> API_CALL_*_*
> First piece is the function name, second one the encoding.
> ----------------
> 
> Using * you will interpret it correctly ;)

Yes, please put this on the fpc bug tracker.

Mattias




More information about the Lazarus mailing list