Ruby on Rails Monday, December 26, 2011

Hi Pradeep,

Thanks for your response, I just need to check the string,
string="ABCDabcd123"
string.encoding.name
it shows IBM4378, but I want to know whether the string is under UTF-8 encoding format or not

regards,
Loganathan





On Mon, Dec 26, 2011 at 5:53 PM, Pradeep <mspradeepan@gmail.com> wrote:
Hi Loganatha,

Please check this link, let me know if this what you are looking for


Thanks
Pradeepan

On Mon, Dec 26, 2011 at 12:13 PM, loganathan sellappa <loganathan.ms@gmail.com> wrote:
Hi All,

I want to check whether the input string is in UTF-8 encoding formate, I googled but didnt get any fruitful results, pls assit me , thanks in advance.

regards,
Loganathan



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment