It might be better (more portable) to escape those as octal or hex
sequences (like '\002' or '\x02').
On Jun 24, 2012 3:11 PM, "James Bremner" <[email protected]> wrote:

> Richard Hipp <drh@...> writes:
>
> >  In your case there is a Ctrl-B (ascii 0x02) in the 2150th byte of the
> file,
> > which makes Fossil think it is a binary file.
>
> Thank you for clarifying this mystery.
>
> FYI: ascii 0x02 is STX = Start of Text  It is used by many devices that
> communicate over RS232 to demark the beginning if a message.  This code is
> used to parse messages from such devices and so the character is sprinkled
> all
> through it.
>
> Other such codes freuently used are:
>
> 1       001     01      00000001        SOH             Start of Heading
> 2       002     02      00000010        STX             Start of Text
> 3       003     03      00000011        ETX             End of Text
> 4       004     04      00000100        EOT             End of Transmission
>
> James
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to