issues
search
aldas
/
modbus-tcp-client
PHP client for Modbus TCP and Modbus RTU over TCP (can be used for serial)
Apache License 2.0
191
stars
55
forks
source link
fix PHP8.1 problem where `Types::parseAsciiStringFromRegister()` fails
#101
Closed
aldas
closed
2 years ago
aldas
commented
2 years ago
Fix PHP8.1 problem where
Types::parseAsciiStringFromRegister()
fails to convert extended ASCII (8bit) characters to UTF-8. Introduced
Charset::$defaultCharset
to be able to set default charset used to convert strings.
Use PHP8.1 in CI flow
Add FC3 and FC4 selection to examples/index.php
Types::parseAsciiStringFromRegister()
fails to convert extended ASCII (8bit) characters to UTF-8. IntroducedCharset::$defaultCharset
to be able to set default charset used to convert strings.