X Tutup
Skip to content

Pharo9 utf8 encoding changes#115

Merged
jbrichau merged 9 commits intomasterfrom
pharo9-utf8encoding2
Jan 31, 2021
Merged

Pharo9 utf8 encoding changes#115
jbrichau merged 9 commits intomasterfrom
pharo9-utf8encoding2

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

X Tutup