apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.67k stars 855 forks source link

NB23 (actually any version) - encoding of Output window #7965

Open Ilya-Zhulin opened 1 day ago

Ilya-Zhulin commented 1 day ago

Apache NetBeans version

Apache NetBeans 23

What happened

The problem is the next - output window displays Cyrillic (or non-latin) symbols not correctly. image I found that it is windows-1251 encoding, but I can't force to show it in russian. I have red this issue and fount that problem wasn't solve. I also found the solution about netbeans.conf and put these parameters - now it is win1251 but I tried utf-8 and others - no reaction. image

I use Netbeans to develop in PHP and JS to build websites. It's not very important for me like Java developers, but this problem goes through many versions. I understand that it depends on Java installation, but, can you, please make a setting which synchronize encoding to show non-latin chars correctly? Special for Output window. Maybe in his settings.

Language / Project Type / NetBeans Component

PHP/JS project (website)

How to reproduce

  1. Install Netbeans in cyrillic workaround (windows languages and regions) - Ru-ru for example
  2. Create PHP project on remote server
  3. Create any file
  4. Change this file and save it.
  5. Watch messages in output window

Did this work correctly in an earlier version?

No / Don't know

Operating System

System: Windows 11 version 10.0 running on amd64; win1251; ru_RU (nb)

JDK

Java: 20.0.2; Java HotSpot(TM) 64-Bit Server VM 20.0.2+9-78

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Ilya-Zhulin commented 1 day ago

I found that after I change encoding in netbeans_default_options in netbeabs.conf it also changes in About window. Encoding in output window - Windows-1251 any case. Maybe it helps.