Skip to content

Problems when using extended ASCII codes (above number 127) in S7Strings #436

@ismdiego

Description

@ismdiego

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions