Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mata question on garbled codes in Chinese characters output by PdfDocument()

    Dear Listers:
    I am using PdfDocument() in Stata 14.0 to creat a table with contents in Chinese. Although the Chinese characters stored in the vector displays correctly in Stata (please see first the picture), they become garbled in the output .pdf file (please see the second picture). I have read the manual on unicode and on ustrto() but it seems that they do not help.
    P.S. I found that this problem also exists when using the Stata command translate .txt file to .pdf file.
    Is there any simple solution?
    Thanks in advance
    Click image for larger version

Name:	stata.PNG
Views:	1
Size:	3.7 KB
ID:	1539126
    Click image for larger version

Name:	pdf.PNG
Views:	2
Size:	7.5 KB
ID:	1539128
    Attached Files
Working...
X