Print as PDF in Safari for Chinese content results in file with garbled text
On a macOS Catalina Macbook Pro with updated Safari and system language set to UK English, but with Chinese keyboards enabled, there is a problem when printing a page as pdf in Safari if the page contains Chinese text.
Even though the pdf looks alright, the text is not saved properly. It seems that the machine-readable text behind the face of the page gets all garbled in the process. When you try to copy the Chinese text, it is all special character nonsense. As a result, you cannot search or copy the text in the pdf file.
Is there an encoding problem or another setting I can change to make this work? I need to create searchable and copy-able pdf files from webpages containing Chinese text, but like this I can only get human-legible, not machine-readable files.