Re: [Pharo-users] csv utf8 etc problem

2016-11-14 Thread Robert Kuszinger
Hello! Steps: 1. Download moose_suite_6_0-win (today from official web) 2. Load NeoCSV (loaded well) 3. Run this whith the earlier mentioned csv file: |csv mbfs cont| mbfs := FileStream fileNamed: 'C:\Users\kusr\Documents\vis\ test1utf8_cut2.csv'. mbfs lineEndConvention: #c

Re: [Pharo-users] csv utf8 etc problem

2016-11-14 Thread Tudor Girba
Hi, You could not load NeoCSV in a Moose 6.0 image? What was the error? Cheers, Doru > On Nov 14, 2016, at 11:26 AM, Robert Kuszinger wrote: > > Sven, > > thanks for the fast reply. It worked for sure, but only in a fresh Pharo 5 > donwload, NeoCSV load and so on. > It failed in Moose 6 win

Re: [Pharo-users] csv utf8 etc problem

2016-11-14 Thread Robert Kuszinger
Sven, thanks for the fast reply. It worked for sure, but only in a fresh Pharo 5 donwload, NeoCSV load and so on. It failed in Moose 6 windows one click distribution so it may signal a Moose 6 image/config/class problem or incompatibility. Your recommendation is more elegant so I walk this way :)

Re: [Pharo-users] csv utf8 etc problem

2016-11-14 Thread Sven Van Caekenberghe
And if you want to have 100% control over decoding, you can do as follows: (FileLocator desktop / 'test1utf8_cut2.csv') binaryReadStreamDo: [ :in | (NeoCSVReader on: (ZnCharacterReadStream on: in)) separator: $; ; upToEnd ]. (FileLocator desktop / 'test1utf8_cut2.csv') binaryReadStreamDo: [ :i

Re: [Pharo-users] csv utf8 etc problem

2016-11-14 Thread Sven Van Caekenberghe
Hi Robert, You should use more modern stuff ;-) This works for me (Pharo 4, macOS), using your file: ((FileLocator desktop / 'test1utf8_cut2.csv') readStreamDo: [ :in | (NeoCSVReader on: in) separator: $; ; upToEnd ]) first: 4. ==>> #( #('rend.szam' 'cikkszam' 'cikk.megnev' 'dop_id' 'dop.c

[Pharo-users] csv utf8 etc problem

2016-11-14 Thread Robert Kuszinger
Hello, I've trying to play around with Roassal so I load a csv. Code by far is here: |csv mbfs cont| mbfs := FileStream fileNamed: 'C:\Users\kusr\Documents\vis\test1utf8_cut2.csv'. mbfs lineEndConvention: #crlf; converter: UTF8TextConverter new. cont := mbfs contents. In the content