another attempt at fixing utf 8 issues on ruby 1.9.3