Skip to content

Only return hexadecimal strings in search results when folder or file names contain Chinese characters #5

@hongyuanjia

Description

@hongyuanjia

Many thanks for this great plugin!

I ran into a problem that whenever there are Chinese characters in my folder or file names, they will be displayed as hexadecimal strings such as <c8><ed><bc><fe>, and when I try to open one of the files, vim will always generate a new file named with those hexadecimal strings.

I think it is an encoding issue. In my _vimrc, I set the default encoding to utf-8. It works fine with all other unite source plugins such as unite-outline, vimfiler, unite-help, and unite-session and all Chinese characters are displayed correctly.

I try to set the unite-everything buffer encoding into cp936 (a character encoding for Simplified Chinese) using :set encoding=cp936, then the Chinese characters come out but the characters in the tabline goes into a mess.

Any insights of how to solve this issues? Thanks again for this great plugin.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions