May 8, 2012
8:57 a.m.
Hi, I am trying to read a file from disk that is in latin1 encoding and then try to compare the string with a string provided as literal and it fails. My test case can be seen below. I am using Pharo 1.3 on a Linux machine with a UTF-8 locale. Is there something obvious that I am doing wrong? | stream text | stream := (FileStream fileNamed: 'pharo_example_latin1.txt') converter: ISO885915TextConverter new; yourself. text := stream contents. text = 'Teilrückzahlung'