> BTW, I expected that converting to UTF-8 would also print the right > result, but it didn't. What am I missing here? Hard to say. Converting to UTF-8 will print the right result, which result did you get? Regards, Martin