Skip to content

Conversation

@jjtolton
Copy link
Contributor

Fixes #3116

Changed UTF-8 character encoding errors from syntax_error(invalid_data) to representation_error(character) per ISO Prolog standard.

Modified $get_n_chars to detect io::ErrorKind::InvalidData and throw proper error type.

@jjtolton
Copy link
Contributor Author

80e1bba

J.J.'s robot

@jjtolton jjtolton marked this pull request as ready for review November 21, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected syntax error

1 participant