runtime: convert *_utf-8.vim files to actual UTF-8 encoding
Commit:
https://github.com/vim/vim/commit/5c855ce43d5d045b81301472cdac397efafa7723
Author: ThanhNguyxn <
thanhnguy...@gmail.com>
Date: Sun Jan 25 15:58:33 2026 +0000
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: #16390
Signed-off-by: ThanhNguyxn <
thanhnguy...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/keymap/esperanto_utf-8.vim b/runtime/keymap/esperanto_utf-8.vim
index 3d335cb24..2910a6f08 100644
--- 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
index c6cc32563..15292e987 100644
--- 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
index dded60e36..526174a3a 100644
--- 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
diff --git a/runtime/lang/menu_ca.utf-8.vim b/runtime/lang/menu_ca.utf-8.vim
index 23ee10da9..7e0ecf3d1 100644
--- a/runtime/lang/menu_ca.utf-8.vim
+++ b/runtime/lang/menu_ca.utf-8.vim
@@ -1,6 +1,6 @@
" Menu translations for Catalan
"
-" Maintainer: Ernest Adrogué <
eadr...@gmx.net>
+" Maintainer: Ernest Adrogué <
eadr...@gmx.net>
" Last Change: 29 Dec 2003
"
source <sfile>:p:h/menu_ca_es.latin1.vim
diff --git a/runtime/lang/menu_ca_es.utf-8.vim b/runtime/lang/menu_ca_es.utf-8.vim
index 23ee10da9..7e0ecf3d1 100644
--- a/runtime/lang/menu_ca_es.utf-8.vim
+++ b/runtime/lang/menu_ca_es.utf-8.vim
@@ -1,6 +1,6 @@
" Menu translations for Catalan
"
-" Maintainer: Ernest Adrogué <
eadr...@gmx.net>
+" Maintainer: Ernest Adrogué <
eadr...@gmx.net>
" Last Change: 29 Dec 2003
"
source <sfile>:p:h/menu_ca_es.latin1.vim
diff --git a/runtime/lang/menu_pt_pt.utf-8.vim b/runtime/lang/menu_pt_pt.utf-8.vim
index 7fc73d14e..e8ab62da6 100644
--- a/runtime/lang/menu_pt_pt.utf-8.vim
+++ b/runtime/lang/menu_pt_pt.utf-8.vim
@@ -1,3 +1,3 @@
-" Menu Translations: Português
+" Menu Translations: Português
source <sfile>:p:h/menu_pt_pt.vim