Skip to content

fix: Updated file encoding for Hieroglyphic characters issue#4504

Open
hrishikesh-nalawade wants to merge 14 commits into
v3.x.xfrom
hrishikesh-nalawade/GH4419/updated-file-encoding
Open

fix: Updated file encoding for Hieroglyphic characters issue#4504
hrishikesh-nalawade wants to merge 14 commits into
v3.x.xfrom
hrishikesh-nalawade/GH4419/updated-file-encoding

Conversation

@hrishikesh-nalawade
Copy link
Copy Markdown
Member

@hrishikesh-nalawade hrishikesh-nalawade commented Mar 5, 2026

Description

Java 21 (JEP 400) changed the default charset to UTF-8 for stdout/stderr. The z/OS SYSPRINT console expects EBCDIC (IBM-1047) encoding, causing UTF-8 bytes to display incorrectly. The existing -Dlogging.charset.console property only configures Logback's encoder and takes effect after Spring Boot initialization, not at JVM startup.

Changed file encoding from UTF-8 to COMPAT

Linked to #4419
Linked to #4446
Related PR #4482

Type of change

  • fix: Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • PR title conforms to commit message guideline ## Commit Message Structure Guideline
  • I have commented my code, particularly in hard-to-understand areas. In JS I did provide JSDoc
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The java tests in the area I was working on leverage @nested annotations
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
hrishikesh-nalawade and others added 2 commits March 9, 2026 19:24
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@EvaJavornicka EvaJavornicka moved this from New to In Progress in API Mediation Layer Backlog Management Mar 11, 2026
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
hrishikesh-nalawade and others added 2 commits March 17, 2026 15:15
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@pull-request-size pull-request-size Bot added size/M and removed size/S labels Apr 13, 2026
hrishikesh-nalawade and others added 2 commits April 13, 2026 15:47
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
@pull-request-size pull-request-size Bot added size/S and removed size/M labels May 11, 2026
hrishikesh-nalawade and others added 3 commits May 11, 2026 16:13
Signed-off-by: hrishikesh-nalawade <hrishikesh.nalawade.17@gmail.com>
…ed-file-encoding' into hrishikesh-nalawade/GH4419/updated-file-encoding
@sonarqubecloud
Copy link
Copy Markdown

@balhar-jakub
Copy link
Copy Markdown
Member

This may be tricky as it seems that Java 21.0.3 is again changing how the encoding is actually working. Can you validate the impact on this fix?

@sonarqubecloud
Copy link
Copy Markdown

@hrishikesh-nalawade hrishikesh-nalawade self-assigned this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

4 participants