From: Yukihiro Matsumoto Date: 2008-12-09T14:16:28+09:00 Subject: Re: UTF char issue Hi, In message "Re: UTF char issue" on Tue, 9 Dec 2008 13:57:07 +0900, Abirami Selvam writes: |MEI-Tsjechië en Slowakije Fonds Acc |Skarbiec FIO Sub Zrównowazony Waga Acc |DnB NOR Řst-Europa Acc | |These are the lines available in my txt file. | |f= File.open(filename) | f.each do |line| | puts line | end | |Using the above code am reading the file and print the data. It doesn't happen on me. I am afraid that it's caused by encoding mismatch, perhaps either your data or your console do not set to UTF-8. matz.