|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|
函数 | |
| convert_to_utf8 (file_path) | |
| process_directory (root_dir) | |
变量 | |
| str | project_path = "." |
| convert_to_utf8.convert_to_utf8 | ( | file_path | ) |
检测并转换文件编码为 UTF-8
在文件 convert_to_utf8.py 第 4 行定义.
| convert_to_utf8.process_directory | ( | root_dir | ) |
遍历项目中的所有 .cs 文件
在文件 convert_to_utf8.py 第 27 行定义.
| str convert_to_utf8.project_path = "." |
在文件 convert_to_utf8.py 第 35 行定义.