flask + apache + win10部署后,文件路径中有中文无法打开问题,想请教解决方案!
1.页面截图
2.查看日志, 文件中文显示乱码
[Tue May 31 09:48:18.615355 2022] [wsgi:error] [pid 5752:tid 1032] [client 10.10.80.124:35207] file_temp_path: \10.10.80.80\share\\xc3\xa4\xc2\xb8\xc2\xb4\xc3\xa6\xc2\x97\xc2\xb6\xc3\xa5\xc2\x85\xc2\xb1\xc3\xa4\xc2\xba\xc2\xab\temp_document\IPC021LM04ME(0302C4H5)-G6_VA0.doc\r, referer: http://10.10.80.124:5000/file_approve/
[Tue May 31 09:48:18.650514 2022] [wsgi:error] [pid 5752:tid 1032] [client 10.10.80.124:35207] open file error: [WinError 5] \xe6\x8b\x92\xe7\xbb\x9d\xe8\xae\xbf\xe9\x97\xae\xe3\x80\x82: '\\\\10.10.80.80\\share\\\xe4\xb8\xb4\xe6\x97\xb6\xe5\x85\xb1\xe4\xba\xab\\temp_document\\IPC021LM04ME(0302C4H5)-G6_VA0.doc'\r, referer: http://10.10.80.124:5000/file_approve/
3.项目在pycharm中运行正常