Skip to content

Windows encoding issues #193

@TM10YMhp

Description

@TM10YMhp

In my case, the default encoding of cmd is not 65001(utf-8), which causes the results returned by the database, mysql, to be mismatched.

2219

2217

After making this change, the problem was solved.

" autoload/db.vim
188 |    call insert(a:cmd, "&&")
189 |    call insert(a:cmd, "65001>nul")
190 |    call insert(a:cmd, "chcp")
191 |    let job = jobstart(join(a:cmd), {

2218

However, I don't know much about how jobs work and I'm not sure if this is the best way to fix this problem.

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