You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
It seems good to set fileencoding instead of encoding to change buffer encoding.
I tried to run :set fileencoding=cp936 but vim returned E21: Cannot make changes, 'modifiable' is off: fileencoding=cp936. Then after I set :set ma, and run :set fileencoding=cp936 again, nothing changes.
Actually, before I submitted this issue, I tried to change the everything.vim code as you said. Because of my poor knowledge of vimscript, I failed to find a workaround.
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 toutf-8
. It works fine with all other unite source plugins such asunite-outline
,vimfiler
,unite-help
, andunite-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.
The text was updated successfully, but these errors were encountered: