You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was referenced here from apple/CUPS : apple/cups#5896
I run CUPS 2.3.1 on Ubuntu 20.04 and I get mixed character encoding in the output from lpstat. The system locale is set to zh_CN.GB18030. The message is UTF-8 and the timestamp is GB18030.
$ lpstat -a
printer 鑷粠 2021年02月04日 星期四 07时51分54秒 寮�濮嬫帴鍙楄姹�
The timestamp is correct but there are replacement characters in the message part which indicate bad encoding. I checked that the message part was indeed UTF-8 by manually decoding the bytes.
GB18030 replaces GB2312 aka Windows code page 936. So we need to add it to the cups_encoding_t enum and the name table, then the right things should happen...
This issue was referenced here from apple/CUPS : apple/cups#5896
I run CUPS 2.3.1 on Ubuntu 20.04 and I get mixed character encoding in the output from lpstat. The system locale is set to zh_CN.GB18030. The message is UTF-8 and the timestamp is GB18030.
The timestamp is correct but there are replacement characters in the message part which indicate bad encoding. I checked that the message part was indeed UTF-8 by manually decoding the bytes.
This is my locale setting:
This is the locales I have on my system:
The text was updated successfully, but these errors were encountered: