WildFly 26.1.3.Final - file.encoding issue

211 views
Skip to first unread message

Andrea

unread,
Jul 14, 2025, 11:40:58 AM7/14/25
to WildFly
Hello,
I'm using WildFly 26.1.3.Final on JDK 17 on Linux server.
file.econding property is not directly configured in WildFly, so the JVM default is considered (UTF-8). In the code of the ear deployed on WildFly, there's no line to set file.encoding.

WildFly usually (99.9%) starts with the correct file.encoding, sometimes it happens that file.encoding is changed to  ANSI_X3.4-1968 , causing a lot of issues in emails and files generated by the application. A restart is needed to fix this wrong behaviour.

Do you have any idea where I should start looking at? Could it be an issue of one of the libraries provided with WildFly ?

Thank you for your help.

Brian Stansberry

unread,
Jul 14, 2025, 11:43:13 AM7/14/25
to WildFly
Hi Andrea,

There's nothing in the WildFly or WildFly Core code that is setting that system property. It's possible some library we integrate does it, but I doubt it.

Maybe others in the community have some idea?

Best regards,
Brian

Reply all
Reply to author
Forward
0 new messages