How to fix java when if refused to open a file with special character in filename?

后端 未结 2 1498
臣服心动
臣服心动 2020-12-09 19:20

How to open a file, with a special character which Java refused to open?

At the beginning I guess it was a charset encoding problem as I read the filename wrong from

2条回答
  •  旧时难觅i
    2020-12-09 20:20

    A possible workaround would be to use a system command to either rename or link to the file using only standard "friendly" chars. Seems hacky but I would think it would work.

提交回复
热议问题