The dos2unix in Red Hat Enterprise Linux 8 converts character '0x0000' of UTF-16LE file to null char.
Issue
- When using the
dos2unixto convert a file exported from aSQL database, the output generated in RHEL7 is different with the one generated in RHEL8. Additional null chars0x00are found in the RHEL8's result.
Environment
- Red Hat Enterprise Linux 8
- component
- dos2unix
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.