stlehmann / pyads

Python wrapper for TwinCAT ADS
MIT License
252 stars 93 forks source link

Add parameter to specify the string encoding to read/write functions and/or Connection class #302

Open stlehmann opened 2 years ago

stlehmann commented 2 years ago

My initial guess is that no-one really thought about the encoding too much at that time. To address this issue I suppose we could add an attribute to the read/write functions for string_encoding. Alternatively this attribute could be set in the Connection object.

Originally posted by @stlehmann in https://github.com/stlehmann/pyads/issues/300#issuecomment-1000085104