Skip to content

gitbook-plugin-summary.py这个文件创建文件有个小bug #1

@nununull

Description

@nununull

output = open(os.path.join(dir_input, filename), 'w')
应该改为 output = open(os.path.join(dir_input, filename), 'w',encoding='utf-8'),指定编码格式为utf-8
不然会中文乱码

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions