Skip to content
hanya edited this page Sep 13, 2010 · 1 revision

For Ruby 1.9.x, each String instance keeps their own encoding. RUNO encode them according to the informations.
Strings returned from UNO are encoded in default external encoding.

For Ruby 1.8.7, if $KCODE is set, strings are encoded according to it. If $KCODE is not set means NONE, UTF-8 encoding is used.
Returned strings are encoded accoring to $KCODE.

UNO byte sequence is encoded in ASCII-8bit.

Clone this wiki locally