|
Karsten Hopp |
18e2b7 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
18e2b7 |
Subject: Patch 7.0.079
|
|
Karsten Hopp |
18e2b7 |
Fcc: outbox
|
|
Karsten Hopp |
18e2b7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
18e2b7 |
Mime-Version: 1.0
|
|
Karsten Hopp |
18e2b7 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
18e2b7 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
18e2b7 |
------------
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
Patch 7.0.079
|
|
Karsten Hopp |
18e2b7 |
Problem: Russian tutor doesn't work when 'encoding' is "utf-8".
|
|
Karsten Hopp |
18e2b7 |
Solution: Use tutor.ru.utf-8 as the master, and generate the other encodings
|
|
Karsten Hopp |
18e2b7 |
from it. Select the right tutor depending on 'encoding'. (Alexey
|
|
Karsten Hopp |
18e2b7 |
Froloff)
|
|
Karsten Hopp |
18e2b7 |
Files: runtime/tutor/Makefile, runtime/tutor/tutor.vim,
|
|
Karsten Hopp |
18e2b7 |
runtime/tutor/tutor.ru.utf-8
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
*** ../vim-7.0.079/runtime/tutor/Makefile Sun Jun 13 20:35:48 2004
|
|
Karsten Hopp |
18e2b7 |
--- runtime/tutor/Makefile Fri Sep 1 20:38:20 2006
|
|
Karsten Hopp |
18e2b7 |
***************
|
|
Karsten Hopp |
18e2b7 |
*** 2,9 ****
|
|
Karsten Hopp |
18e2b7 |
#
|
|
Karsten Hopp |
18e2b7 |
# The Japanese tutor exists in three encodings. Use the UTF-8 version as the
|
|
Karsten Hopp |
18e2b7 |
# original and create the others with conversion.
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
! all: tutor.ja.sjis tutor.ja.euc tutor.ko.euc
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
tutor.ja.sjis: tutor.ja.utf-8
|
|
Karsten Hopp |
18e2b7 |
nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
|
|
Karsten Hopp |
18e2b7 |
--- 2,13 ----
|
|
Karsten Hopp |
18e2b7 |
#
|
|
Karsten Hopp |
18e2b7 |
# The Japanese tutor exists in three encodings. Use the UTF-8 version as the
|
|
Karsten Hopp |
18e2b7 |
# original and create the others with conversion.
|
|
Karsten Hopp |
18e2b7 |
+ #
|
|
Karsten Hopp |
18e2b7 |
+ # Similarly for Russian and Korean
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
! all: tutor.ja.sjis tutor.ja.euc \
|
|
Karsten Hopp |
18e2b7 |
! tutor.ko.euc \
|
|
Karsten Hopp |
18e2b7 |
! tutor.ru tutor.ru.cp1251
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
tutor.ja.sjis: tutor.ja.utf-8
|
|
Karsten Hopp |
18e2b7 |
nkf -WXs tutor.ja.utf-8 > tutor.ja.sjis
|
|
Karsten Hopp |
18e2b7 |
***************
|
|
Karsten Hopp |
18e2b7 |
*** 13,15 ****
|
|
Karsten Hopp |
18e2b7 |
--- 17,25 ----
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
tutor.ko.euc: tutor.ko.utf-8
|
|
Karsten Hopp |
18e2b7 |
iconv -f UTF-8 -t EUC-KR tutor.ko.utf-8 > tutor.ko.euc
|
|
Karsten Hopp |
18e2b7 |
+
|
|
Karsten Hopp |
18e2b7 |
+ tutor.ru: tutor.ru.utf-8
|
|
Karsten Hopp |
18e2b7 |
+ iconv -f UTF-8 -t KOI8-R tutor.ru.utf-8 > tutor.ru
|
|
Karsten Hopp |
18e2b7 |
+
|
|
Karsten Hopp |
18e2b7 |
+ tutor.ru.cp1251: tutor.ru.utf-8
|
|
Karsten Hopp |
18e2b7 |
+ iconv -f UTF-8 -t cp1251 tutor.ru.utf-8 > tutor.ru.cp1251
|
|
Karsten Hopp |
18e2b7 |
*** ../vim-7.0.079/src/version.c Sat Sep 2 14:53:09 2006
|
|
Karsten Hopp |
18e2b7 |
--- src/version.c Sat Sep 2 14:20:15 2006
|
|
Karsten Hopp |
18e2b7 |
***************
|
|
Karsten Hopp |
18e2b7 |
*** 668,669 ****
|
|
Karsten Hopp |
18e2b7 |
--- 668,671 ----
|
|
Karsten Hopp |
18e2b7 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
18e2b7 |
+ /**/
|
|
Karsten Hopp |
18e2b7 |
+ 79,
|
|
Karsten Hopp |
18e2b7 |
/**/
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
--
|
|
Karsten Hopp |
18e2b7 |
Eight Megabytes And Continually Swapping.
|
|
Karsten Hopp |
18e2b7 |
|
|
Karsten Hopp |
18e2b7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
18e2b7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
18e2b7 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
18e2b7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|