Filesystem Attachments path is garbled

Hi,Everybody is good

My version of xwiki is 10.4.I successfully uploaded an attachment in the page path.

bin/view/O-Choerodon/opop11/test/

I found a garbled file system path.

D:\work\tomcat8\tomcat8\webapps\ROOT\data\storage\xwiki\%4F-%43hoerodon\opop11\test\%57eb%48ome\~this\attachments

Please advise, thank you.

Hi,
There is a suspicion that some characters are not ASCII.
O-Choerodon -> %4F-%43hoerodon

@Peter why do you care? You’re not supposed to access those and we use some internal format :slight_smile:

We do have one known issue though with long paths that is now closed in 11.x: https://jira.xwiki.org/browse/XWIKI-15620

If my page path has Chinese characters, the file system path will be transcoded in utf-8.

Could give me a solution to display file or directory name with Chinese character in storage location.

There isn’t any because, again, you’re not supposed to look at this directory. It’s something internal to XWiki.

I see,
Thank you for your reply :grin: