POV-Ray : Newsgroups : povray.general : Re: Problem with downloaded .POV files Server Time
11 Aug 2024 01:26:45 EDT (-0400)
  Re: Problem with downloaded .POV files (Message 1 to 1 of 1)  
From: Pierre Abbat
Subject: Re: Problem with downloaded .POV files
Date: 5 Oct 1999 21:34:48
Message: <939173688.1913585650@news.povray.org>
On Thu, 29 Jan 1998, John Frandolig wrote:
>Eric Freeman wrote in message <34d0ded7.0@news.povray.org>...
>>hey all,
>>
>>(almost) every time i download a .POV file from the ng's and try to render
>>it, get the following error message:
>>
>>Illegal character in input file, value is a0.
>>
>
>sounds like you are attempting to use files created on unix on a dos system.
>
>the end of line character on unix is LF =0xA0, but on DOS it expects CRLF
>(always
>a OxD0 before the 0XA0 )  - I never have this problem with povray for
>windows 3.01
>however - so maybe this is not your problem -   (or perhaps you are using
>DOS files on
>a Mac ? I believe the mac uses only the 0xD0 for end of line )

0xa0 is not a line feed, it's a non-breaking space. Line feed is 0x0a.
0xd0 is not a carriage return, it's a capital edh. Carriage return is 0x0d.

Perhaps someone used   for spacing (multiple  's don't collapse into
one) and you got it as 0xa0. Run it through tr \240 \040 and see what happens.

phma


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.