I was struggling for some time with aurigadoc 1.4.0b due to some encoding issue. The characters with diacritic will be replaced by '?' or '#' after conversion to PDF or HTML. I tried to play a bit with the code doing small changes as proposed by other patches but with no good result. So at the end I decided to rewrite parts of aurigadoc that seemed to me to not properly handle encoding.
So this...