jeremyevans/home_run

Encoding incompatibility

Closed this issue · 2 comments

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".

This is a bug and will be fixed.

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