comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Read_ASCII and 'invalid' ascii files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Read_ASCII and 'invalid' ascii files [message #42048 is a reply to message #41949] Fri, 10 December 2004 11:15 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Jaden wrote:
> Hi Everyone,
>
> I have been using IDL's read_ascii function to read in data files
> using a template. The only problem is that all the source files have a
> +/- symbol in the header, and IDL reports that these files are not
> valid ascii files, when they clearly are. When I open with a text
> editor, and remove the suspect character, the function runs perfectly.
> Any suggestions?
>
> Jaden

I think the ASCII code defines only 128 characters (7 bit). The +/- sign
is part of an "extended" ASCII code, which makes use of the 8th bit but
is not strictly defined.

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Stretching an image
Next Topic: Help with Nested FOR Loop

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:24:57 PDT 2025

Total time taken to generate the page: 1.84155 seconds