From: Eero Saynatkari Date: 2006-02-01T03:41:46+09:00 Subject: Re: Strange print Valerij Kirjanov wrote: > Hi all! > I have some text in russian. Then I've print it with puts I saw beatiful > text, but then use p operator text is "\353\317\314\314\305\304\326". > How can I solve problem, because when using iconv the problem is same? The difference between puts obj and p obj is that the former uses obj.to_s and the latter obj.inspect. Is there a specific reason why you need to use p instead of puts or did I misunderstand you? E -- Posted via http://www.ruby-forum.com/.