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

批量重命名 → 编辑名称时不使用 ANSI 编码 #89

Closed
Dream4ever opened this issue Sep 14, 2020 · 0 comments
Closed

批量重命名 → 编辑名称时不使用 ANSI 编码 #89

Dream4ever opened this issue Sep 14, 2020 · 0 comments
Labels
Software About installation ande usage

Comments

@Dream4ever
Copy link
Owner

Dream4ever commented Sep 14, 2020

在用 Total Commander 的批量重命名 - 编辑名称时,Windows 默认使用自带的记事本程序来编辑名称,而记事本默认使用的是 ANSI 编码。

所以为了保证能够顺利重命名,就需要操作两遍,第一遍将 UTF-8 编码的文本保存为 ANSI 格式,第二遍则是将文本重新保存至 ANSI 格式的文本文件中,这样实在太麻烦。

用关键字 total commander batch rename notepad utf-8 ansi Google 了一遍,在 Multi-Rename Tool, Rename with file names in external files 一文中看到了解决办法:

在 Total Commander 配置文件 wincmd.ini[Configuration] 字段中,增加 RenameEditUnicode=1 这么一行,就能够保证文件名按正常的编码保存了。

另外再设置一下 txt 文件的默认打开程序为 Notepad++,而不是用默认的记事本,这样才能够保证上面的设置生效。

@Dream4ever Dream4ever added the Software About installation ande usage label Sep 14, 2020
@Dream4ever Dream4ever changed the title Total Commander 批量重命名 - 编辑名称 - 使用 UTF-8 编码 批量重命名 → 编辑名称时不使用 ANSI 编码 Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Software About installation ande usage
Projects
None yet
Development

No branches or pull requests

1 participant