Ruby 1.8 doesn't have String#ord.