On Tue, Jul 18, 2017 at 3:54 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
These are all aliases [ see: https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ].
So you could add it, yes
But why use TextConverter at all ?
I used this because this is what I found while browsing for code. When I did this code the CI was down I could not access to EnterprisePharo.
You could keep on using the alternative (more modern, cleaner) ZnCharacterEncoder hierarchy.
Just open your streams binary and wrap a ZnCharacterReadStream around them with the encoding of your choice.
fileReference binaryReadStreamDo: [ :in | (ZnCharacterReadStream on: in encoding: #latin1) ... ]
I just tried to use this but it broke my code. For example, ZnCharacterReadStream does not understand #position: while the ReadStream hierarchy understand it. -- Cyril Ferlicot https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France