lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <
<>> wrote:

    You need to open the file in "binary mode" eg: