Posted By

rubyrage on 01/18/10


Tagged

ruby unicode


Versions (?)

Get unicode character of string in Ruby 1.8/1.9


 / Published in: Ruby
 

  1. "ABCDEFG".each_char {|c| puts c.unpack('U*').first}

Report this snippet  

You need to login to post a comment.