Welcome Guest, Not a member yet? Register   Sign In
[solved] R&OS;pdf class: latin chars
#1

[eluser]sl3dg3hamm3r[/eluser]
Hey there

Did somebody use once the R&OS;pdf class? Officially, there is no utf-8 support. But at least the latin-chars (and not only ASCII) I would have expected to work. But as soon as I have e.g. Umlaut (ä,ö,ü), it is not properly rendered in the pdf.

Any advice?

Happy new year!
Sl3dg3
#2

[eluser]sl3dg3hamm3r[/eluser]
Hmm ok, I figured out: the problematic string comes from a language-file, which is encoded in utf-8. I simply convert it before sending it to the pdf-class:

Code:
iconv( "UTF-8", "ISO-8859-1//TRANSLIT", 'my string with öäü etc.')

Why can't everything be utf? Smile




Theme © iAndrew 2016 - Forum software by © MyBB