upTo and accentued characters
Avi Bryant
avi.bryant at gmail.com
Mon Jun 13 17:33:08 UTC 2005
On 6/13/05, stéphane ducasse <ducasse at iam.unibe.ch> wrote:
> |stream |
> self halt.
> stream := (MultiByteFileStream fileNamed: 'BD4TabsDelimited.txt').
> stream converter: Latin1TextConverter new.
> (stream upTo: Character cr)
>
> now I get:
> Achille Talon Greg Pas de piti¶ pour
> Achille talon 13 1976 Dargaud "sur la couverture ""une
> histoire du journal tintin"""
>
> but not with Ž so I tried to convert to isoToSqueak but the accent
> did not show up.
> Any idea?
Are you sure the text file is in latin-1 and not, say, UTF8?
Avi
More information about the Squeak-dev
mailing list
|