Repository navigation
fix: 修复中文邮件乱码并准备 v1.1.4 - #19
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android 上 Expo 54 的 TextDecoder 只支持 UTF-8。收到 GBK/GB2312 等编码邮件时,PostalMime 的解码和 Windows-1252 回退均失败,应用随后把原字节按 UTF-8 解码,导致 HTML 和纯文本视图都显示
�。在解析前检测字符集支持,仅对不完整的运行时安装纯 JavaScript TextDecoder。修复覆盖 GBK、GB2312、GB18030、Big5 的正文、主题、发件人和附件文件名,保留正常浏览器的原生解码器。普通邮箱旧缓存利用保留的 MIME 一次性重新解析,不改变增量同步锚点;没有保留 MIME 的旧管理员摘要缓存由正常首页加载重新获取。
版本升级到
1.1.4,Android versionCode / iOS buildNumber 为18,同步更新中英文说明、变更日志和版本门禁。Fixes #17
验证:
pnpm check、pnpm lint、pnpm build通过。GITHUB_ACTIONS=true配置成功导出 Android Hermes 字节码和 Web 生产包。本地默认配置首次 Web 导出遇到已有的 NativeWind CSS SHA-1 路径问题。尚未使用报告者的原始邮件在 Android 真机验证。已经在服务端丢失原始字节的内容无法通过客户端解码恢复。