fix ruby upcase for especial chars