fix locale/encoding related problems with strftime
Merge pull request #78 from tkruse/datetime

fix locale/encoding related problems with strftime