Troubleshooting

Windows

If you encounter a problem when using the OpenKM SDK in a Spring Boot application on a Windows system, where Arabic file names are not correctly preserved when uploading documents, you have to make sure to set the JVM encoding parameters to UTF-8. This ensures that the Java Virtual Machine (JVM) uses UTF-8 encoding for character handling. You can add the following parameters to your Java command line:

-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8