Skip to contentSkip to conversation

koi8-ru support for 2.4

PATCH New Andrzej Krzysztofowicz 1 participant 1 message May 7, 2001 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 koi8-ru support for 2.4

Hi,

The following patch adds koi8-ru (Belarussian) charset support for
2.4.4-ac kernels on top of nls_koi8-u module. They differ on two characters only, so I don't think t is worth to create a new table for koi8-ru.

Well it could be koi8-u on top of koi8-ru as well, but I choosed minimal-
changes-way for the patch.

Andrzej

Documentation/Configure.help +4 -4
diff -uNr linux-2.4.4-ac5/Documentation/Configure.help linux/Documentation/Configure.help
@@ -12567,8 +12567,8 @@
   cp862, cp863, cp864, cp865, cp866, cp869, cp874, cp932, cp936,
   cp949, cp950, cp1251, cp1255, euc-jp, euc-kr, gb2312, iso8859-1,
   iso8859-2, iso8859-3, iso8859-4, iso8859-5, iso8859-6, iso8859-7,
-  iso8859-8, iso8859-9, iso8859-14, iso8859-15, koi8-r, koi8-u, sjis,
-  tis-620, utf8.
+  iso8859-8, iso8859-9, iso8859-14, iso8859-15, koi8-r, koi8-ru,
+  koi8-u, sjis, tis-620, utf8.
   If you specify a wrong value, it will use the built-in NLS;
   compatible with iso8859-1.
 
@@ -12937,13 +12937,13 @@
   input/output character sets. Say Y here for the preferred Russian
   character set.
 
-NLS KOI8-U (Ukrainian) 
+NLS KOI8-U/RU (Ukrainian, Belarussian) 
 CONFIG_NLS_KOI8_U
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
   correctly on the screen, you need to include the appropriate
   input/output character sets. Say Y here for the preferred Ukrainian
-  character set.
+  (koi8-u) and Belarussian (koi8-ru) character sets.
 
 NLS UTF8
 CONFIG_NLS_UTF8
fs/nls/Config.in +1 -1
diff -uNr linux-2.4.4-ac5/fs/nls/Config.in linux/fs/nls/Config.in
@@ -56,7 +56,7 @@
   tristate 'NLS ISO 8859-14 (Latin 8; Celtic)'      CONFIG_NLS_ISO8859_14
   tristate 'NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)' CONFIG_NLS_ISO8859_15
   tristate 'NLS KOI8-R (Russian)'                   CONFIG_NLS_KOI8_R
-  tristate 'NLS KOI8-U (Ukrainian)'                 CONFIG_NLS_KOI8_U
+  tristate 'NLS KOI8-U/RU (Ukrainian, Belarussian)' CONFIG_NLS_KOI8_U
   tristate 'NLS UTF8'                               CONFIG_NLS_UTF8
   endmenu
 fi
fs/nls/Makefile +1 -1
diff -uNr linux-2.4.4-ac5/fs/nls/Makefile linux/fs/nls/Makefile
@@ -49,7 +49,7 @@
 obj-$(CONFIG_NLS_ISO8859_14)	+= nls_iso8859-14.o
 obj-$(CONFIG_NLS_ISO8859_15)	+= nls_iso8859-15.o
 obj-$(CONFIG_NLS_KOI8_R)	+= nls_koi8-r.o
-obj-$(CONFIG_NLS_KOI8_U)	+= nls_koi8-u.o
+obj-$(CONFIG_NLS_KOI8_U)	+= nls_koi8-u.o nls_koi8-ru.o
 obj-$(CONFIG_NLS_ABC)		+= nls_abc.o
 obj-$(CONFIG_NLS_UTF8)		+= nls_utf8.o
 
fs/nls/nls_koi8-ru.c +99 -0

99 lines not on this page · raw message

Signature · 4 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk