-
Notifications
You must be signed in to change notification settings - Fork 1
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
怎么解决? #34
Comments
请提供一下使用的文件并叙述一下发生时的操作过程,谢谢。 这样我不好确定是哪个部分的文本编码问题。 |
这是整个过程: 正在分析字幕: "27.ass" Traceback (most recent call last): |
过程是:打开脚本选择"[B] 字体子集化 & MKV封装"-"[B] 子集化并封装"然后输入文件位置回车报错 |
好的,已检查这一步中出错时的字体创艺简中圆 其次,通过FontCreator检查,创艺简中圆中也没有定义U+E4C6 这意味着这一步的出错极有可能是您字幕文本的问题。 请您重新确认您的字幕是否有文本问题,
这个字符您真的需要吗?是否是输入或者拷贝错误导致了该字符的出现? |
倒是不需要,你可以告诉我找出这种违规字符的方法吗? |
最简单的就是用可以将这些非标准Unicode字符显示为一个框框或者问号的查看器,进行人工检查 由于这种字符显示得比较明显,应该还是很容易发现的。 比较复杂的是使用正则表达式等对这些区域进行搜索 就这次的问题来说,您可以使用 E000~F8FF就是这次字符所在的用户自定义区,一个一般不会设置字符的区域 您还可以根据报错信息 encode character '\ue4c6',转写为正则表达式 |
好的感谢 |
U+E4C6是不是被你们当成大空格用了x |
UnicodeEncodeError: 'gbk' codec can't encode character '\ue4c6' in position 0: illegal multibyte sequence
The text was updated successfully, but these errors were encountered: