suspect icon indicating copy to clipboard operation
suspect copied to clipboard

Trouble decoding and encoding twix VB format during anonymization

Open josephmje opened this issue 7 years ago • 7 comments

Hi,

I'm having some trouble with the anonymize_twix() function. My file is read as the VB format.

Decoding to windows-1252 produces the error: UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 418277: character maps to <undefined>

Decoding using latin-1 works (as shown in the load_twix_vb() function). However, I can't write the anonymized header to a new file. Using windows-1252, there is again an issue with the 0x8f character.

josephmje avatar May 30 '17 17:05 josephmje