Encoding of Spring Boot properties decription shown in IDE
已回答
Hi! We develop cutom Spring Boot @ConfigurationProperties classes which have comments in Russian. spring-configuration-metadata.json is generated in UTF-8 and russian characters looks ok. But properties descriptions shown in IDE have encoding problems

Is there a way to fix it in Intellij IDEA?
请先登录再写评论。
Do you see the issue only in completion popup or the descriptions in the file themselves are garbled like shown on screenshot?
If first - try changing the font in File | Settings | Editor | Color Scheme | Color Scheme Font settings to some other font which is able to display all the characters.
I see issue in popup only. Changing font has no effect. Also I set all file encodings in project to UTF-8 ( File | Settings | Editor | File Encodings) with no effect too.
Looks like related to https://youtrack.jetbrains.com/issue/IDEA-177690/https://youtrack.jetbrains.com/issue/IDEA-175317.
Try "-
Dfile.encoding=UTF-8" into Help | Edit Custom VM Options... and IDE restart.Also try to switch to greyscale antialiasing in Settings->Appearance&Behavior->Appearance->Antialiasing and see if it makes a difference.
Try also e.g. https://youtrack.jetbrains.com/issue/IDEA-177690#focus=streamItem-27-2379714-0-0.
If issue remains can you attach a sample project or the file with the steps to reproduce? Please also provide idea.log after IDE restart. Thanks.
>> Try "-
Dfile.encoding=UTF-8" into Help | Edit Custom VM Options... and IDE restart.This worked. Thanks.