You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default Encoding.ASCII used in S7String to serialize and deserialize strings to/from byte array is not always valid in some situations where you want to use extended ASCII Code Pages, like the Windows 1252, or Iso-8859-1.
I have created a PR (#435) with a proposed workaround for this, allowing the user to change the Encoding used by S7String system-wide. It only modifies S7String class, and the behavior is exactly the same if the user does nothing.
The text was updated successfully, but these errors were encountered:
ismdiego
changed the title
Problems when using extended ASCII codes (above number 127) ans S7Strings
Problems when using extended ASCII codes (above number 127) in S7Strings
Jun 16, 2022
The default Encoding.ASCII used in S7String to serialize and deserialize strings to/from byte array is not always valid in some situations where you want to use extended ASCII Code Pages, like the Windows 1252, or Iso-8859-1.
I have created a PR (#435) with a proposed workaround for this, allowing the user to change the Encoding used by S7String system-wide. It only modifies S7String class, and the behavior is exactly the same if the user does nothing.
The text was updated successfully, but these errors were encountered: