openkm / document-management-system

OpenKM is a Open Source Document Management System
https://www.openkm.com/
GNU General Public License v2.0
708 stars 308 forks source link

can not preview .txt file #337

Closed bodysonic3 closed 1 year ago

bodysonic3 commented 2 years ago

I have the same issue but in Chinese, my folder is in Chinese and i can not preview .txt file

Application error Class:
com.openkm.core.PathNotFoundException Message: /okm:root/2.????????/2.2????/2.2.1??/C30???????/??????.txt

bodysonic3 commented 2 years ago

i use Version: 6.3.11 (build: d7abb25)

biabbbb99 commented 2 years ago

The error is because character encoding SyntaxHighlighterServlet.java
line-55,WebUtils.getString(request, "xxx"). does not require character encoding conversion u can debug and try

gnujavasergio commented 1 year ago

Hello @darkman97i

I was reviewing this issue this was already resolved in that issue https://github.com/openkm/document-management-system/issues/291 and this is the merge that was done https://github.com/openkm/document- management-system/pull/297/files

This solution is currently resolved in the development version of openkm 6.3.12

darkman97i commented 1 year ago

Solved in previous MR