Accept non-ascii characters in pdf headers

an alternative way to handle non-ascii chars in pdf headers, probably not backwards compatible to ruby 1.8