Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
convert_to_utf8

函数

 convert_to_utf8 (file_path)
 process_directory (root_dir)

变量

str project_path = "."

函数说明

◆ convert_to_utf8()

convert_to_utf8.convert_to_utf8 ( file_path)
检测并转换文件编码为 UTF-8

在文件 convert_to_utf8.py4 行定义.

◆ process_directory()

convert_to_utf8.process_directory ( root_dir)
遍历项目中的所有 .cs 文件

在文件 convert_to_utf8.py27 行定义.

变量说明

◆ project_path

str convert_to_utf8.project_path = "."

在文件 convert_to_utf8.py35 行定义.