Not work, it returned ascii number of the character. I don't know why as I'm not a ruby user.