adding encoding for the unicode char on ruby 1.9