0

When I change to Lao language input in JTextField, it displays like this:

enter image description here

I want to know how to show correct Lao language characters in Swing control, like text field etc. (By the way - Thai and Chinese display correctly.)

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • 1
    Use a [compatible font](https://stackoverflow.com/a/42335976/418556).. – Andrew Thompson Dec 30 '18 at 06:40
  • 1
    thanks for comments, your link give me direction, but in the link you put , it is very difficult to a new GUI programmer, it is lucky to solve the issue by downloading Lao unicode font "Phetsarath_OT.ttf". – Chauncey Lee Dec 31 '18 at 06:57
  • Good-o. See also how to [load and install a custom `Font`](https://stackoverflow.com/a/8365030/418556). – Andrew Thompson Dec 31 '18 at 06:59
  • BTW - congrats on finding the solution to the problem. :) Now there are a couple of different things you might do. 1) (preferred) answer the question, below. If you do that, please let me know. 2) Delete the question. There should be a link among the options below left of the question ('share', 'edit' etc.). – Andrew Thompson Dec 31 '18 at 07:09

1 Answers1

0

i solved the issue by downloading Lao unicode font "Phetsarath_OT.ttf" , The download link is : https://www.phetsarath.gov.la/download.php