commit 4076994db6252e79400e4dd5498431d52e938b5b
parent d1167d13274e30b034bbdd6847c1e3b2ab6f2c29
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 26 Jan 2026 06:52:59 +0800
vim-patch:5c855ce: runtime: convert *_utf-8.vim files to actual UTF-8 encoding
Several runtime files with "_utf-8" in their filename are actually encoded
in latin1 or cp1255, not UTF-8. This causes errors when tools attempt to
read these files as UTF-8.
Files converted:
- esperanto_utf-8.vim: latin1 -> UTF-8, updated scriptencoding directive
- greek_utf-8.vim: latin1 -> UTF-8
- hebrewp_utf-8.vim: cp1255 (Windows Hebrew) -> UTF-8
- menu_ca.utf-8.vim: latin1 -> UTF-8
- menu_ca_es.utf-8.vim: latin1 -> UTF-8
- menu_pt_pt.utf-8.vim: latin1 -> UTF-8
The actual functionality remains unchanged - only the encoding was modified.
closes: vim/vim#16390
https://github.com/vim/vim/commit/5c855ce43d5d045b81301472cdac397efafa7723
Co-authored-by: ThanhNguyxn <thanhnguyentuan2007@gmail.com>
Diffstat:
3 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/runtime/keymap/esperanto_utf-8.vim b/runtime/keymap/esperanto_utf-8.vim
@@ -7,7 +7,7 @@
"
" All keys same as usual, except:
" ^ followed by any of CcGgHhJjSs adds a circumflex on top of the letter
-" and replaces the grave accent by a breve
+" ù and Ù replaces the grave accent by a breve
" any of CcGgHhJjSsUu followed by X or x maps to consonant with ^ or Uu with
" breve.
@@ -21,7 +21,7 @@ let b:keymap_name = "Eo"
" digraph C> 0x0108 c> 0x0109 G> 0x011C g> 0x011D H> 0x0124 h> 0x0125
" digraph J> 0x0134 j> 0x0135 S> 0x015C s> 0x015D U( 0x016C u( 0x016D
-scriptencoding latin1
+scriptencoding utf-8
loadkeymap
@@ -35,8 +35,8 @@ loadkeymap
^j <Char-0x0135> " (309) LOWERCASE j WITH CIRCUMFLEX
^S <Char-0x015C> " (348) UPPERCASE S WITH CIRCUMFLEX
^s <Char-0x015D> " (349) LOWERCASE s WITH CIRCUMFLEX
- <Char-0x016C> " (364) UPPERCASE U WITH BREVE
- <Char-0x016D> " (365) LOWERCASE u WITH BREVE
+Ù <Char-0x016C> " (364) UPPERCASE U WITH BREVE
+ù <Char-0x016D> " (365) LOWERCASE u WITH BREVE
CX <Char-0x0108> " (264) UPPERCASE C WITH CIRCUMFLEX
Cx <Char-0x0108> " (264) UPPERCASE C WITH CIRCUMFLEX
diff --git a/runtime/keymap/greek_utf-8.vim b/runtime/keymap/greek_utf-8.vim
@@ -557,8 +557,8 @@ v| <char-0x1FF3> " GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI
"
"
" Greek Quotes if your keyboard supports them
- <char-0x201C> " QUOTEDBLLEFT
- <char-0x201D> " QUOTEDBLRIGHT
+´ <char-0x201C> " QUOTEDBLLEFT
+ª <char-0x201D> " QUOTEDBLRIGHT
"
"
"
diff --git a/runtime/keymap/hebrewp_utf-8.vim b/runtime/keymap/hebrewp_utf-8.vim
@@ -6,33 +6,33 @@
" Use this short name in the status line.
let b:keymap_name = "hebp"
loadkeymap
-w <char-0x5e9> " - shin
-n <char-0x5e0> " - nun
-b <char-0x5d1> " - bet
-g <char-0x5d2> " - gimel
-q <char-0x5e7> " - qof
-k <char-0x5db> " - kaf
-g <char-0x5e2> " - ayin
-y <char-0x5d9> " - yod
-N <char-0x5df> " - final nun
-j <char-0x5d7> " - het
-l <char-0x5dc> " - lamed
-K <char-0x5da> " - final kaf
-x <char-0x5e6> " - tsadi
-m <char-0x5de> " - mem
-M <char-0x5dd> " - final mem
-p <char-0x5e4> " - pe
-r <char-0x5e8> " - resh
-d <char-0x5d3> " - dalet
-a <char-0x5d0> " - alef
-v <char-0x5d5> " - vav
-h <char-0x5d4> " - he
-s <char-0x5e1> " - samekh
-T <char-0x5d8> " - tet
-z <char-0x5d6> " - zayin
-t <char-0x5ea> " - tav
-X <char-0x5e5> " - final tsadi
-P <char-0x5e3> " - final pe
+w <char-0x5e9> " ש - shin
+n <char-0x5e0> " נ - nun
+b <char-0x5d1> " ב - bet
+g <char-0x5d2> " ג - gimel
+q <char-0x5e7> " ק - qof
+k <char-0x5db> " כ - kaf
+g <char-0x5e2> " ע - ayin
+y <char-0x5d9> " י - yod
+N <char-0x5df> " ן - final nun
+j <char-0x5d7> " ח - het
+l <char-0x5dc> " ל - lamed
+K <char-0x5da> " ך - final kaf
+x <char-0x5e6> " צ - tsadi
+m <char-0x5de> " מ - mem
+M <char-0x5dd> " ם - final mem
+p <char-0x5e4> " פ - pe
+r <char-0x5e8> " ר - resh
+d <char-0x5d3> " ד - dalet
+a <char-0x5d0> " א - alef
+v <char-0x5d5> " ו - vav
+h <char-0x5d4> " ה - he
+s <char-0x5e1> " ס - samekh
+T <char-0x5d8> " ט - tet
+z <char-0x5d6> " ז - zayin
+t <char-0x5ea> " ת - tav
+X <char-0x5e5> " ץ - final tsadi
+P <char-0x5e3> " ף - final pe
A: <Char-0x5b0> " sheva
HE <Char-0x5b1> " hataf segol
HA <Char-0x5b2> " hataf patah
@@ -47,7 +47,7 @@ U <Char-0x5bb> " qubuts
D <Char-0x5bc> " dagesh
]T <Char-0x5bd> " meteg
]Q <Char-0x5be> " maqaf
-]R <Char-0x5bf> " rafe
+]R <ּChar-0x5bf> " rafe
]p <Char-0x5c0> " paseq
SR <Char-0x5c1> " shin-dot
SL <Char-0x5c2> " sin-dot