Commit 232444c
committed
counter mkexrc fileencoding behaviour
mkexrc writes the exrc file with an encoding detected somewhere through
your vimrc file, ... With a properly encoded vimrc and such you get a
nice utf-8 file, with some vimrc's there is some mixing which causes the
mkexrc command to write the exrc file with latin1 or cp1250 or ...
Now the reading of the temporary exrc file is done binary and the
strings are converted back to utf-8 using the replace strategy. This
should make sure we don't get Unicode errors while reading the file
searching for maps that need replacing for proper functioning of vdebug.
fixes #350
Signed-off-by: BlackEagle <ike.devolder@gmail.com>1 parent 5e1d263 commit 232444c
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
| 159 | + | |
| 160 | + | |
161 | 161 | | |
162 | | - | |
163 | 162 | | |
164 | 163 | | |
165 | 164 | | |
| |||
0 commit comments