Handle locales with non-ascii characters

The guys had a problem with this in korean (%Z) output. This fixes it, and still works on my native english box.

Note - not guaranteed to work for all locales. I read some chinese boxes with wierdass implementations of strftime still had problems. Although, they would still have problems anyway.