Hvala.
Problem predstavlja odnos UTF-8 i ISO 8859-1 kodnih strana.
Ali sam OVO našla na Internetu, tako da kodnu stranu ni ne moram da menjam :
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/93868
**************************
Or, if all you're doing is converting iso-8859-1 to UTF, you could use
String::unpack and Array.pack:
# ASCII (ISO-8859-1) -> UTF:
string.unpack("C*").pack("U*")
# UTF-8 -> ISO-8859-1
string.unpack("U*").pack("C*")
Of course, the conversion from UTF-8 to ISO-8859-1 won't work in all cases,
because the character space of UTF-8 is larger than ISO-8859-1. Going from
ASCII to UTF-8 should always work, though.
**************************
Lepo rešava moj problem, zar ne :-)))
Hvala još jednom,
Velda