Khmer language is covered by Unicode : https://en.wikipedia.org/wiki/Khmer_alphabet#Unicode
Stata 14.1 however shows Khmer text differently from what is being entered:
The text looks similar, but apparently contains some characters that are not to be displayed, but to be treated as modifiers (to the extent that I understand Khmer).
The text is copied from notepad, where it is displayed correctly, which gives me some confidence that all relevant fonts/extensions are setup correctly on my workstation, and the problem only occurs in Stata as far as I can see.
The problem occurs with direct text input, and also with byte-by-byte transfer of data directly into Stata file, which hints that the data is probably entered and processed correctly and this is solely the rendering problem. Here is what else is known:
If there are any particular steps for configuring Stata to work with Khmer language (and render exactly as notepad does), please advise.
I have tried switching all fonts available (Courier New, Consolas, Lucinda Console, and others), Script setting is "Western" as no other settings makes more sense.
If there is a Khmer-knowledgeable reader in the forum, could you please indicate whether the text shown on the black background is still readable in Khmer, or it is nonsense and only text shown on the white background is readable.
An example text is attached to this message.
Thank you, Sergiy Radyakin
Stata 14.1 however shows Khmer text differently from what is being entered:
The text looks similar, but apparently contains some characters that are not to be displayed, but to be treated as modifiers (to the extent that I understand Khmer).
The text is copied from notepad, where it is displayed correctly, which gives me some confidence that all relevant fonts/extensions are setup correctly on my workstation, and the problem only occurs in Stata as far as I can see.
The problem occurs with direct text input, and also with byte-by-byte transfer of data directly into Stata file, which hints that the data is probably entered and processed correctly and this is solely the rendering problem. Here is what else is known:
- rendering problem occurs in output window following the display and list commands.
- when the data is exported and viewed with external software the Khmer texts are again displayed correctly.
- when text is copied from output window to the clipboard and pasted into the command window it renders correctly again.
If there are any particular steps for configuring Stata to work with Khmer language (and render exactly as notepad does), please advise.
I have tried switching all fonts available (Courier New, Consolas, Lucinda Console, and others), Script setting is "Western" as no other settings makes more sense.
If there is a Khmer-knowledgeable reader in the forum, could you please indicate whether the text shown on the black background is still readable in Khmer, or it is nonsense and only text shown on the white background is readable.
An example text is attached to this message.
Thank you, Sergiy Radyakin
Comment