]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime: convert *_utf-8.vim files to actual UTF-8 encoding
authorThanhNguyxn <thanhnguyentuan2007@gmail.com>
Sun, 25 Jan 2026 15:58:33 +0000 (15:58 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 25 Jan 2026 15:58:33 +0000 (15:58 +0000)
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 <thanhnguyentuan2007@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/keymap/esperanto_utf-8.vim
runtime/keymap/greek_utf-8.vim
runtime/keymap/hebrewp_utf-8.vim
runtime/lang/menu_ca.utf-8.vim
runtime/lang/menu_ca_es.utf-8.vim
runtime/lang/menu_pt_pt.utf-8.vim

index 3d335cb249fa7847df00f081be9a3b840a77dc41..2910a6f080d84905b6c1aabbb1b91619fc9e273c 100644 (file)
@@ -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
index c6cc32563e6414fe581f485073f99a0f767c8625..15292e9870d2542717495660fba33ef4155a0e9a 100644 (file)
@@ -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
 "
 "
 "
index dded60e3651b08c430ab35e33911005b6bf6bc69..526174a3ac91221d75c1ee73d30d81f4aee5dfbc 100644 (file)
@@ -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
index 23ee10da9aa4b9905d1cc3fad30f8c1fdd104877..7e0ecf3d1f27656daa9279e4081bd881417961b1 100644 (file)
@@ -1,6 +1,6 @@
 " Menu translations for Catalan
 "
-" Maintainer:  Ernest Adrogué <eadrogue@gmx.net>
+" Maintainer:  Ernest Adrogué <eadrogue@gmx.net>
 " Last Change: 29 Dec 2003
 "
 source <sfile>:p:h/menu_ca_es.latin1.vim
index 23ee10da9aa4b9905d1cc3fad30f8c1fdd104877..7e0ecf3d1f27656daa9279e4081bd881417961b1 100644 (file)
@@ -1,6 +1,6 @@
 " Menu translations for Catalan
 "
-" Maintainer:  Ernest Adrogué <eadrogue@gmx.net>
+" Maintainer:  Ernest Adrogué <eadrogue@gmx.net>
 " Last Change: 29 Dec 2003
 "
 source <sfile>:p:h/menu_ca_es.latin1.vim
index 7fc73d14e727b111d583e7b519bfac390f0cafa5..e8ab62da68d2cb4f5f2328b330c7f51ac56de205 100644 (file)
@@ -1,3 +1,3 @@
-" Menu Translations:   Português
+" Menu Translations:   Português
 
 source <sfile>:p:h/menu_pt_pt.vim