jeremyevans / home_run

Fast Date/DateTime classes for ruby :: Unmaintained, unnecessary on ruby 1.9.3+
Other
465 stars 10 forks source link

Encoding incompatibility #8

Closed remigijusj closed 14 years ago

remigijusj commented 14 years ago

On Ruby 1.9, Date#strftime returns strings with US-ASCII encoding, home_run's strftime gives ASCII-8BIT (binary). This can lead to errors when combining the result with strings encoded in UTF-8: "incompatible character encodings: UTF-8 and ASCII-8BIT".

jeremyevans commented 14 years ago

This is a bug and will be fixed.

jeremyevans commented 14 years ago

Return all strings in US-ASCII encoding on ruby 1.9 (Closed by e42fc0ba169e522764e4db2519f6707f77472dcd)