snappy: footer-left encoding/umlaut problems
Hi,
I’m trying to add a footer with an umlaut to my document:
$snappy->setOption('footer-left','ÖSTERREICH');
Unfortunately the Ö isn’t there… I’ve tried various combinations of the following:
$snappy->setOption('footer-left',utf8_encode('ÖSTERREICH'));
$snappy->setOption('footer-left',utf8_decode('ÖSTERREICH'));
Even trying to add the Ö via the correspondig utf8 escaped character. It works fine on Windows but not on my Linux server Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64. The php file containing the code is encoded in utf8, I’ve added the encoding option to snappy, the header charset (utf8) and even the meta charset in the html files. I’m really out of ideas!
Thanks!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (5 by maintainers)
Well, it looks like it’s in the docs: