rstemmer / id3edit

🛠 id3edit is a command line tool to edit and debug ID3v2 tags of mp3 files supporting Unicode.
GNU General Public License v3.0
31 stars 4 forks source link

Some tests fail on MacOS (despite valid result) #30

Closed rstemmer closed 10 months ago

rstemmer commented 10 months ago

Executing test.sh on MacOS shows several test fail. This ist most likely in all cases the situation that MacOS uses UTF16BE while Linux systems I used for testing use UTF16LE as default UTF16 encoding. Is behavior is totally fine because there is a byte order mark (BOM) included with each text. See also #29

Test results should be valid for both cases. A solution will be to compare the outcoming file of a test run with two check sums. One expected for UTF16LE encoded data and one for UTF16BE encoded data. Simular as is has been done in the encoding test application (See #29 )