From: Robert Klemme Date: 2006-02-02T06:47:28+09:00 Subject: Re: Strange print Valerij KIR 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? p uses String#inspect which I believe will always print something that can be safely interpreted as a Ruby string on 7 bit ASCII. You should use puts instead of p - p is really rather a debugging / inspection untility but not meant for normal program output (IMHO). Kind regards robert