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