From: Michael Fellinger Date: 2008-04-04T01:29:15+09:00 Subject: Re: UTF-8 in Ruby On Thu, Apr 3, 2008 at 6:05 PM, Vaibhav Bhandari wrote: > hi all - > > Whats the recommended way to ensure that a string sent over the wire is > UTF-8. I want to do a post to a web-service and the content needs to be > UTF-8. > > Whats the best way to do - > "content".encoding('UTF-8') > > Thanks in advance. > > regards, > Vaibhav Maybe: require 'kconv' "content".toutf8 ^ manveru