apache / apache/netbeans

NB23 (actually any version) - encoding of Output window

Open
#7,965 2 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 23

### What happened

The problem is the next - output window displays Cyrillic (or non-latin) symbols not correctly.
![image](https://github.com/user-attachments/assets/76d28375-e913-4a63-bc04-9c45b477d5f0)
I found that it is `windows-1251` encoding, but I can't force to show it in russian. I have red [this issue](https://github.com/apache/netbeans/issues/7116) 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](https://github.com/user-attachments/assets/a64ee01d-731b-40d9-8267-ae4ca06b916a)

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Cyrillic output-window behavior using the listed Windows 11, Java 20, PHP/JS project, and remote-server steps. Read the output window behavior and the netbeans.conf encoding parameters mentioned in the report; done means non-Latin output displays correctly and the relevant encoding setting has an observable effect.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript, php
Domain
desktop, localization, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.