[Pharo-users] Re: How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Sven Van Caekenberghe
There is ZnCharacterEncoder knownEncodingIdentifiers. You either provide an identifier from this list (as string or symbol) or an instance (the argument gets sent #asZnCharacterEncoder if you want to know). Most text editors will tell you the encoding they are using to read your file and you ca

[Pharo-users] Re: How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Tim Mackinnon
Hey thanks guys - so looking at readStreamEncoded: - how do I know what the valid encodings are? Skimming those doc’s Sven referenced, I can start to pick out some - but is there a list? I see that method parameter says “anEncoding” but the type hint on that is misleading as it seems like its a

[Pharo-users] Re: How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Sven Van Caekenberghe
> On 20 Jul 2021, at 12:11, Guillermo Polito wrote: > > > >> El 20 jul 2021, a las 11:45, Sven Van Caekenberghe escribió: >> >> >> >>> On 20 Jul 2021, at 11:03, Sven Van Caekenberghe wrote: >>> >>> Hi Tim, >>> >>> An introduction to this part of the system is in >>> https://ci.inria.

[Pharo-users] Re: How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Guillermo Polito
> El 20 jul 2021, a las 11:45, Sven Van Caekenberghe escribió: > > > >> On 20 Jul 2021, at 11:03, Sven Van Caekenberghe wrote: >> >> Hi Tim, >> >> An introduction to this part of the system is in >> https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifac

[Pharo-users] Re: How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Sven Van Caekenberghe
> On 20 Jul 2021, at 11:03, Sven Van Caekenberghe wrote: > > Hi Tim, > > An introduction to this part of the system is in > https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-Encoding-Meta/Zinc-Encoding-Meta.html > [Character Encodin

[Pharo-users] Re: How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Sven Van Caekenberghe
Hi Tim, An introduction to this part of the system is in https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-Encoding-Meta/Zinc-Encoding-Meta.html [Character Encoding and Resource Meta Description] from the "Enterprise Pharo" book. The e

[Pharo-users] How to handle (recover) from a ZnInvalidUTF8: Illegal continuation byte for utf-8 encoding error?

2021-07-20 Thread Tim Mackinnon
Hi - I’m doing a bit of log file processing with Pharo - and I’ve hit an unexpected error and am wondering what the best way to approach it is. It seems that I have a log file that has unexpected characters, and so my readStream loop that reads lines gets an error: "ZnInvalidUTF8: Illegal conti

[Pharo-users] Re: Pharo 9.0 vm same-as Pharo 8.0 ?

2021-07-20 Thread teso...@gmail.com
Thanks for the report, I will update the page. On Mon, Jul 19, 2021 at 6:34 PM Isaac Gouy via Pharo-users < pharo-users@lists.pharo.org> wrote: > On Monday, July 19, 2021, 12:55:08 AM PDT, Guillermo Polito < > guillermopol...@gmail.com> wrote: > > > > that link is now obsolete in favour of pharo-