Skip to content

出现错误,请教解决办法 #2

@sakylawa

Description

@sakylawa

➜ translator-master python translator.py 战斗打响了
translator.py:625: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if arg != '':
translator.py:627: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if head != '-':
Traceback (most recent call last):
File "translator.py", line 745, in
main()
File "translator.py", line 675, in main
text = ' '.join(args)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128)

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