Is there an easy way to set my string enoding from the C api?

rb_str_new2() gives me #<Encoding:ASCII-8BIT>, but I know that the
string is UTF-8.

I've been digging through the ruby source, but I can't seem to find a
straight forward way to accomplish this.  :-(

Thanks!

-- 
Aaron Patterson
http://tenderlovemaking.com/