TB-throwback / LookOut-fix-version

Fork of LookOut (fix version)
51 stars 17 forks source link

Displays [00] byte at the end of the file name #52

Closed jorgk3 closed 3 years ago

jorgk3 commented 4 years ago

Context

Windows 10 64 bit, LookOut (fix version) 2.0.0, just installed.

Issue

Displays [00] byte at the end of the file name, see screen shot:

image

I can provide the original message for testing, please contact me.

dugite-code commented 4 years ago

Interesting, the only time I've seen this before is when the winmail.dat was fully corrupted. Have you tried checking the option Disable Filename Character Set Conversion?

jorgk3 commented 4 years ago

I have now (and restarted) and it makes no difference. The file is fine, double-clicking on the attachment opens it and the content is fine, too. Would you like it as test data? I believe I have your e-mail address.

jorgk3 commented 4 years ago

I've sent you the test data, looks bad in the Sent mailbox as well.

dugite-code commented 4 years ago

Thanks, my initial test show there is nothing wrong with the data. Definitely a bug

Update: Going through my old email archive files this commonly appears on .msg attachments.

dugite-code commented 4 years ago

In the debug logs there was a simple .split("\0")[0] hiding the issue. From my research it looks like this my be simply an artifact from JS TextDecoder not dealing with \0 bytes and could be save to simply drop. However doing a Concatenate might be the go.