Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2025 05:44 AM - edited 06-30-2025 05:59 AM
Ok, thanks for additional information. So maybe the issue is somehow related to JVM environment.
I noticed that you're setting following property: System.setProperty("file.encoding", "UTF-8");
Java sets file.encoding once at JVM startup — setting it with System.setProperty at runtime has no effect on string decoding in most libraries, including JDBC drivers.
Try to launch your application with following VM option.
java -Dfile.encoding=UTF-8