From: Abirami Selvam Date: 2008-12-09T13:57:07+09:00 Subject: Re: UTF char issue Stefan Lang wrote: > 2008/12/8 Abirami Selvam : >> While reading the data from the text file,the special characters has not >> been printed as like in the file. >> >> ex: >> >> ë UTF char has changed into δ > > Please post the code, and if possible, also the text file. > Then we may be able to help you. > > Stefan 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. -- Posted via http://www.ruby-forum.com/.