Annoyingly, gopodf doesn’t support unicode by default as you might expect. The default code page for text seems to be cp1252 (!). You can use UnicodeTranslatorFromDescriptor to wrap your text and translate to this code page if using european text, but I’m not sure if that will work for arabic unfortunately. Maybe someone else who knows the library better than me will be able to help.