In that case I believe you want to put the bits you're interested in in a bytevector, and use utf8->string, utf16->string, or utf32->string.
Noah On Fri, Nov 23, 2012 at 2:48 AM, nalaginrut <[email protected]> wrote: > In ruby, we can use force_encoding to convert the encoding of a string: > "abc\u{6666}".force_encoding("UTF-8") > > What's the same thing in Guile? > > PS: I know Guile treat all strings with "UTF-8". I don't mean to encode > UTF-8 string. I need something like "force_encoding". > > >
