BaPSF / bapsflib

A Python Toolkit for BaPSF
11 stars 7 forks source link

Allow for byte decoding of windows codespace 1252 #100

Closed rocco8773 closed 1 year ago

rocco8773 commented 1 year ago

closes #99

Update _bytes_to_str() so the byte character \x92 can be decoded. This happens when a contraction liked doesn't is used when entering info into the DAQ fields. Since the DAQ runs on windows, the apostrophe in doesn't is encoded as a fancy apostrophe. When LabView encodes this doesn't into a byte string the fancy apostrophe becomes \x92.

Helpful links: