[Lazarus] Warning regarding a source file containing non printed chars
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Mar 7 19:27:33 CET 2008
On Fri, 7 Mar 2008 10:40:18 +0200
ik <idokan at gmail.com> wrote:
> On Fri, Mar 7, 2008 at 10:29 AM, Mattias Gaertner
> <nc-gaertnma at netcologne.de> wrote:
> > On Fri, 7 Mar 2008 09:50:14 +0200
> > ik <idokan at gmail.com> wrote:
> >
> > > Hello,
> > >
> > > I'm trying to open source files with Lazarus, that some have non
> > > printed chars that result in the following warning:
> > > "File .... does not look like a text file. open anyway ?"
> > >
> > > Is there away (other then ignore) to change this behaviour in
> > > Lazarus ?
> >
> > No.
> > Just curious: What kind of source file contains 'non printed
> > chars'?
>
> libsvn headers .. they are not part of a string but rather different
> end of line as i can understand ...
>
> Regardless of that, Unicode contain many non printed chars, like
> direction, sound (for screen readers etc) and more ...
The 'file is text' check searches for #0..#8,#11,#12,#14..#31.
There are no special Unicode characters in #0..#31.
I checked libsvn-dev and you are right - it contains the special char
#12 - Form Feed.
I checked several viewers and editors and none like them. But they
don't warn neither. Apparently they ignore this special printer
character.
I changed FileIstText to allow 'Form Feed'.
Mattias
More information about the Lazarus
mailing list