Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows encoding issues #193

Open
TM10YMhp opened this issue Dec 12, 2024 · 0 comments
Open

Windows encoding issues #193

TM10YMhp opened this issue Dec 12, 2024 · 0 comments

Comments

@TM10YMhp
Copy link

TM10YMhp commented Dec 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant