Symptoms
Options for paper sizes written in Japanese are corrupted, come up as mojibake, on Linux OS (eg. Ubuntu) within the print dialog when utilizing virtual integrated printing.
Cause
This issue is caused by the encoding method in ppd files.ppd files are created when printers are redirected, and character corruption occurs if the encoding in that is absent or not UTF-8.
Resolution
This issue is resolved from the Horizon 2203 Horizon Client release and higher.
Workaround
To workaround the issue, add LanguageEncoding to the ppd file:1. Connect to Linux VDI from Horizon Client and open Terminal application.2. Go to /etc/cups/ppd directory, then confirm the ppd files are created for redirected printers.3. Copy the redirected printer's ppd file as a customized ppd file.For example, if "Microsoft XPS Document Writer" printer is redirected, execute the following commands.
cd /etc/cups/ppdsudo cp -p 'Microsoft_XPS_Document_Writer(v1).ppd' custom_XPS_Document_Writer.ppd
3. Edit custom_XPS_Document_Writer.ppd and add the following line, then save it.
*LanguageEncoding: UTF-8
4. Edit /etc/vmware/config file and add the following line to apply custom_XPS_Document_Writer.ppd.
printSvc.customizedPpd="Microsoft XPS Document Writer=/etc/cups/ppd/custom_XPS_Document_Writer.ppd;"
5. Disconnect and reconnect to Linux VDI, then Japanese characters will be shown correctly.
Related Information
This is a child Article of Known Issues with VMware Integrated Printing (89694)