[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Errors reading ASCII characters 1A and writing 0A
- From: Creation Elemental <arceusthe@...>
- Date: Sun, 25 Dec 2016 18:27:30 +0000
Yep. Problem solved. Thanks.
You probably have to open your output file in binary mode too. eg:
Otherwise 0x0A will be interpreted as line end and a line end sequence
will be inserted in your output file depending on the os you are running
your scipt on. (eg: 0x0D, 0x0A on windows).
Am 25.12.2016 um 08:23 schrieb Creation Elemental:
> So this worked for the 1A but it didn't fix the problem with 0A. Help?
> On Sat, Dec 24, 2016 at 12:12 AM Ulrich Schmidt <email@example.com
> <mailto:firstname.lastname@example.org>> wrote:
> You need to open the file in "binary mode" eg:
A.K.A. Elemental Creation