ruby : supporting utf8 encoding