apache / apache/netbeans

unicode escapes in property files are converted to lowercase

Open
#3,825 4 comments 0 reactions 0 assignees View on GitHub
Contribution welcome good first issue kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 13

### What happened

when saving properties with unicode escapes, they are all converted to lowercase. it is very old issue (https://bz.apache.org/netbeans/show_bug.cgi?id=239513), please fix it since it makes huge mess in git

### How to reproduce

open any .properties file with uppercase unicode escapes e.g.

date.yesterday=v\u010Dera

and save it. the property value gets converted to:

date.yesterday=v\u010dera

### Did this work correctly in an earlier version?

No

### Operating System

Microsoft Windows [Version 10.0.19044.1586]

### JDK

Java(TM) SE Runtime Environment 11.0.11+9-LTS-194

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the NetBeans properties editor using a .properties value such as v\u010Dera, then trace the save path that converts Unicode escapes. Done means saving the file preserves the uppercase escape as \u010D rather than changing it to \u010D with a lowercase hexadecimal digit; add or update a regression test if the relevant test location is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.