Skip to content

'gbk' codec can't decode byte 0xa3 in position 191: illegal multibyte sequence #953

@starrysky9959

Description

@starrysky9959

When I use mycli on Windows10 to load a sql script, for example, source XXX.sql, an error occurred: 'gbk' codec can't decode byte 0xa3 in position 191: illegal multibyte sequence.
I thought this is a question about opening a file. According to the log, I modified the code in line 255 in main.py. Then it works.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions