Support non utf-8 encodings with drawURL(). Fixes #44