From: O01eg Oleg on 30 May 2010 11:48 When I try to encode string in program I got Encoding::ConverterNotFoundError error "code converter not found (UTF-8 to KOI8-R)" (and other charsets) When I run script with encoding in ruby interpreter it work. What I have to call for loading converters? -- Posted via http://www.ruby-forum.com/.
From: O01eg Oleg on 30 May 2010 13:10 Solved. It has to require "enc/trans/transdb". -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Square Root Next: uninitialized constant error... trying to create a TCPsocket in amodule |