Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF打开内容乱码 #705

Open
panther125 opened this issue Nov 2, 2024 · 3 comments
Open

PDF打开内容乱码 #705

panther125 opened this issue Nov 2, 2024 · 3 comments

Comments

@panther125
Copy link

环境信息

  • ZFile 版本:4.1.5
  • 涉及存储源:本地存储
  • 部署方式:Linux-脚本
  • 操作系统/设备:Linux
  • 浏览器/版本号:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

复现步骤

上传PDF文件,在线预览发生乱码

预期结果

显示正常内容

实际结果

乱码

额外信息

@zhaojun1998
Copy link
Collaborator

  1. 请提供截图,怎么个乱码。
  2. 将 pdf 拖到浏览器空白标签页看看用浏览器自带预览是否正常。

@panther125
Copy link
Author


浏览器是不乱码的
项目使用源代码部署方式部署

@zhaojun1998
Copy link
Collaborator


浏览器是不乱码的
项目使用源代码部署方式部署

看起来你是自己在显示设置-文本文件后缀手动增加过pdf后缀,应该去掉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants