Describe the bug
If variables contain non-latin symbols text be unreadable.
To Reproduce
Steps to reproduce the behavior:
- Export variables
export PPD="/usr/share/cups/model/CUPS-PDF.ppd"
export PRINTER_INFO="Информация"
export PRINTER_LOCATION="Местоположение"
- Run filter
/usr/lib/cups/filter/bannertopdf < /usr/share/cups/data/testprint > test.pdf
- Open pdf file
Expected behavior
Cyrillic symbols shown correct and readable.
System Information:
- OS: gnu/linux
- Version 2.0.1
Additional context
This bug reproducing in test page print with cups.