Skip to content

file encoding on Linux / Windows #7

Open
@odavy37

Description

@odavy37

Dear Sir,

I am using pyFileFicity which is a very efficient tool.

But the output files for checksum / header / ECC seem to be OS depended (charset dependent), which can lead to errors.

For example, I computed checksums on Windows 10, then I tested the checksums on Linux (Debian buster, utf-8 encoding), and I found multiple errors.
It appears that output file encoding in Windows was CP-1215, while reading utf-8 on Linux.
It was easily fixed for the checksums output file, by transforming the file to utf-8.
But I am wondering if header and ECC output files - computed on Windows, will work if I repair the file on Linux?
Is there an option in pyfileFixity to set charset of reading / output files (utf-8)?

Best regards,

Olivier

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions