Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE version 1.8.11 can't display Thai character. #9693

Open
TridentTD opened this issue Jan 31, 2020 · 8 comments
Open

Arduino IDE version 1.8.11 can't display Thai character. #9693

TridentTD opened this issue Jan 31, 2020 · 8 comments
Labels
Component: IDE The Arduino IDE OpenJDK Issues to be verified once OpenJDK (AdoptOpenJDK) is implemented Type: Bug

Comments

@TridentTD
Copy link

Arduino IDE version 1.8.10
can display Thai fine.

But when upgrad to version1.8.11
the lastest version can't display Thai.

image

@suabmoohoo
Copy link

The symptoms are the same, so are there any solutions?

@TridentTD
Copy link
Author

The symptoms are the same, so are there any solutions?

Return to version 1.8.10.

@cmaglie cmaglie added this to the Release 1.8.12 milestone Feb 11, 2020
@cmaglie cmaglie added the OpenJDK Issues to be verified once OpenJDK (AdoptOpenJDK) is implemented label Feb 12, 2020
@shawayush
Copy link

Hi!
I have figured out why is this happening, The main reason is that the root folder of the Linux, misses mimeapps.list. This can be solved by adding the mimeapp.list to the root folder of the Linux, I will be submitting a PR in 24 hours. By adding mimeapps.list to the root list will also solve the issue #7846
As I am just a student and new to open-source, I would request the admin @cmaglie to help me with it, if what I am saying is right. Though I have tested it on PC and it works perfectly fine!

@cmaglie
Copy link
Member

cmaglie commented Mar 23, 2020

@shawayux I never heard about the mimeapps.list file, can you elaborate more? what is the purpose of this file? Could you provide your copy mimeapps.list so we can try it?

@shawayush
Copy link

Hi! @cmaglie
XDG Standard is used for configuring desktop Environment! default application of each MIME type are stored in mimeapps.list Generally, it is provided by the distribution of some UNIX, but some OS, unfortunately, doesn't have it, all we have to do is create that file.
I have attached a screenshot of my mimeapps.list which was created by the code that I have just given as a PR. I hope you like the work I have done here. Please feel free to guide me during the process.

Screenshot from 2020-03-24 01-00-39

@cmaglie
Copy link
Member

cmaglie commented Mar 24, 2020

@shawayush I don't think your patch solves this particular issue, here users of Windows are unable to display strings in Thai language, I don't think that changing the install script for linux will solve this problem.

@cmaglie
Copy link
Member

cmaglie commented Mar 24, 2020

For the record, the problem here is that the IDE 1.8.11 has been distributed with the java runtime OpenJDK (the AdoptOpenJDK build to be precise). Unfortunately OpenJDK does still have a lot of problems with font rendering and 2D graphics, so we had to revert back to Sun/Oracle JRE (the latest version available that is still free redistributable). This fixed the problem for IDE 1.8.12.

BTW we should move to OpenJDK before or later so I'm still keeping this issue open to keep track of the bug. More bugs related to OpenJDK are under the OpenJDK label: https://github.com/arduino/Arduino/issues?q=label%3AOpenJDK+

@shawayush
Copy link

shawayush commented Mar 24, 2020

@cmaglie does it solve #7846 ?

But the character problem happened with Linux also, but after giving this update, it didn't give that problem, so I thought the problem was solved by changing the install script. But i hope its solves #7846

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE OpenJDK Issues to be verified once OpenJDK (AdoptOpenJDK) is implemented Type: Bug
Projects
None yet
Development

No branches or pull requests

5 participants