Re: How to remove carriage returns in a text file.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




Paul Randall;1066422 Wrote:
"Sigheart" <guest@xxxxxxxxxxxxxxxx> wrote in message
news:d48e4fcc9314426068c6c6864abbce25@xxxxxxxxxxxxxxxxxxxxx> > >

Can I post a 35 mb file here? Well, I'll try and convert it to make
it
around 15 mb. > > Assuming the input data is ANSI 8-bit characters, how about attaching
a
small portion of the input file, a portion that contains the info
that you
want to convert to just one line or maybe a few lines if there are
significant differences. Use a binary editor so the attachment has
exactly
the information to be converted. It might be helpful to also attach
a file
that shows the expected output for the input you post. You should
zip the
attachment, especially if it is more that a few thousand bytes.

If the input data is encoded in UTF-16 or UTF-8 or some other
multiple byte
per character, then let us know and maybe someone else knows how to
create
an attachment that we can use to analyze and fix your problem.

XVI32, available freely on the internet, is a binary editor/viewer
that can
be used to select a particular series of bytes in a file, copy the
selection
to the clipboard, and paste it into a new file.

-Paul Randall

-Here is an attached file for the sample data of input and output.
Thank you. -


+-------------------------------------------------------------------+
|Filename: Sample Data.zip |
|Download: http://www.vistax64.com/attachment.php?attachmentid=13556|
+-------------------------------------------------------------------+

--
Sigheart
.



Relevant Pages

  • Re: How to remove carriage returns in a text file.
    ... Assuming the input data is ANSI 8-bit characters, ... small portion of the input file, a portion that contains the info that you ... Use a binary editor so the attachment has exactly ... If the input data is encoded in UTF-16 or UTF-8 or some other multiple byte ...
    (microsoft.public.scripting.vbscript)
  • Re: bitmap bands
    ... how can i extract the portion (single bitmap pict) that i want to use ... actual .NET types of the input data and what do you want as your output data? ...
    (microsoft.public.dotnet.languages.csharp)