try something like this:
-------------------------------------
require 'cgi'
s="UPPERCASE Russian Alphabet\n".encode('utf-8')
s+=CGI.unescapeHTML("АБВГ".encode('utf-8'))
s+=CGI.unescapeHTML("ДЕЖЗ".encode('utf-8'))
s+=CGI.unescapeHTML("ИЙКЛ".encode('utf-8'))
s+=CGI.unescapeHTML("МНОП".encode('utf-8'))
s+=CGI.unescapeHTML("РСТУ".encode('utf-8'))
s+=CGI.unescapeHTML("ФХЦЧ".encode('utf-8'))
s+=CGI.unescapeHTML("ШЩЪЫ".encode('utf-8'))
s+=CGI.unescapeHTML("ЬЭЮЯ".encode('utf-8'))
puts s
-------------------------------------
David
-- 
Posted via http://www.ruby-forum.com/.