8000 网站出现UnicodeDecodeError: 'gbk' codec can't decode byte 0xae 问题解决 · Issue #12 · super-l/superl-url · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
网站出现UnicodeDecodeError: 'gbk' codec can't decode byte 0xae 问题解决 #12
Open
@xiaojp

Description

@xiaojp
  1. core/filter.py
    file_object = open('filter/filter_domain.txt') 修改为 file_object = open('filter/filter_domain.txt','r',encoding="utf-8")
    file_object = open('filter/filter_title.txt') 修改为 file_object = open('filter/filter_title.txt')
    2.core/outdata.py
    file_handle = open(filepath, 'a') 修改为 file_handle = open(filepath, 'a',encoding="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

      0