James Gray wrote:
> Actually, it can take an encoding now:
> 
> irb(main):001:0> 322.chr("UTF-8")
> => ""

That's what I was missing. Thank you.
-- 
Posted via http://www.ruby-forum.com/.