Skip to content

Support Chinese in configuration file #3

@jingchangshi

Description

@jingchangshi

If author_names_highlighted = ["San Zhang", "张三"], it reports error like UnicodeDecodeError: 'gbk' codec can't decode byte 0xb6 in position 796: illegal multibyte sequence.

Fix: Change config.read(_conffile) in bibtex2htmll.py to config.read(_conffile, 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