vim2hs icon indicating copy to clipboard operation
vim2hs copied to clipboard

Using vim2hs in windows, non-english locales

Open thkang2 opened this issue 11 years ago • 0 comments

the file contains a lot of regexs that contain unicode type colons and function arrows.

unfortunately there are many non-english windows locales that depend on codepages their own languages instead of utf-8; i.e) CJK.

on those windows installations, loading a .hs file in vim will result in error because vim will throw parse errors on the .vim file.

vim2hs_error

github & git seem to be non-locale-aware, that they just save everything in utf8. I wonder if there are any solutions that can help fixing this non-unicode-locale parse error on windows, except the naive solution of manually converting to my own codepage before installing them, so that I can just git clone the repo.

thkang2 avatar Feb 17 '14 02:02 thkang2