Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pharo9 utf8 encoding changes #115

Merged
merged 9 commits into from
Jan 31, 2021
Merged

Pharo9 utf8 encoding changes #115

merged 9 commits into from
Jan 31, 2021

Conversation

jbrichau
Copy link
Member

@jbrichau jbrichau commented Jan 18, 2021

Possibility to switch to Zinc UTF8 encoder/decoder in Pharo 9.

We keep the old TextConverter encoder/decoder as the default for now (and for those who need it in any case). The problem is that the old encoder (UTF8TextConverter) uses a stream on a String collection while ZnUtf8Encoder requires a ByteArray collection in the stream. Code changes are therefore often required. Seaside is not yet ready either but will switch at the some point.

Users can switch between the used encoders by using:
GRPlatform current setutf8CodectoDeprecatedTextConverter and GRPlatform current setutf8CodectoZinc

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.

1 participant