public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] for iso8859-13
@ 2001-05-06 21:04 Andrzej Krzysztofowicz
  2001-05-07  1:48 ` H. Peter Anvin
  0 siblings, 1 reply; 6+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-05-06 21:04 UTC (permalink / raw)
  To: Alan Cox; +Cc: kernel list

Hi,
   The following patch removed unused and broken conversion table from
nls_iso8859-13.c.


--- linux-2.4.4-ac5/fs/nls/nls_iso8859-13.c	Sat Apr 28 20:35:03 2001
+++ linux/fs/nls/nls_iso8859-13.c	Sun May  6 22:42:19 2001
@@ -149,35 +149,6 @@
 	0x00, 0xca, 0xea, 0xdd, 0xfd, 0xde, 0xfe, 0x00, /* 0x78-0x7f */
 };
 
-static unsigned char page02[256] = {
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10-0x17 */
-	0x00, 0xff, 0x00, 0x00, 0xb4, 0xa1, 0xa5, 0x00, /* 0x18-0x1f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x20-0x27 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x28-0x2f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30-0x37 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x38-0x3f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x40-0x47 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x48-0x4f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x50-0x57 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x58-0x5f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x60-0x67 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x68-0x6f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x70-0x77 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x78-0x7f */
-	
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x80-0x87 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x90-0x97 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x98-0x9f */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
-	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xc0-0xc7 */
-};
-
 static unsigned char page20[256] = {
 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00-0x07 */
 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08-0x0f */


-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] for iso8859-13
  2001-05-06 21:04 [PATCH] for iso8859-13 Andrzej Krzysztofowicz
@ 2001-05-07  1:48 ` H. Peter Anvin
  2001-05-07  6:37   ` Kai Henningsen
  0 siblings, 1 reply; 6+ messages in thread
From: H. Peter Anvin @ 2001-05-07  1:48 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <200105062104.XAA24831@green.mif.pg.gda.pl>
By author:    Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
In newsgroup: linux.dev.kernel
>
> Hi,
>    The following patch removed unused and broken conversion table from
> nls_iso8859-13.c.
> 

Wouldn't it make a heck of a lot more sense if we had a preprocessor
which could produce these kinds of tables from a more sensible input
format (preferrably one which is already in use somewhere.)

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] for iso8859-13
  2001-05-07  1:48 ` H. Peter Anvin
@ 2001-05-07  6:37   ` Kai Henningsen
  2001-05-07  7:50     ` Andrzej Krzysztofowicz
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Henningsen @ 2001-05-07  6:37 UTC (permalink / raw)
  To: linux-kernel

hpa@zytor.com (H. Peter Anvin)  wrote on 06.05.01 in <9d4ut6$9b9$1@cesium.transmeta.com>:

> Followup to:  <200105062104.XAA24831@green.mif.pg.gda.pl>
> By author:    Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
> In newsgroup: linux.dev.kernel
> >
> > Hi,
> >    The following patch removed unused and broken conversion table from
> > nls_iso8859-13.c.
> >
>
> Wouldn't it make a heck of a lot more sense if we had a preprocessor
> which could produce these kinds of tables from a more sensible input
> format (preferrably one which is already in use somewhere.)

For example from the tables on the Unicode webserver or from the IBM  
charset registry ...


MfG Kai

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] for iso8859-13
  2001-05-07  6:37   ` Kai Henningsen
@ 2001-05-07  7:50     ` Andrzej Krzysztofowicz
  0 siblings, 0 replies; 6+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-05-07  7:50 UTC (permalink / raw)
  To: Kai Henningsen; +Cc: linux-kernel

"Kai Henningsen wrote:"
> hpa@zytor.com (H. Peter Anvin)  wrote on 06.05.01 in <9d4ut6$9b9$1@cesium.transmeta.com>:
> > Wouldn't it make a heck of a lot more sense if we had a preprocessor
> > which could produce these kinds of tables from a more sensible input
> > format (preferrably one which is already in use somewhere.)
> 
> For example from the tables on the Unicode webserver or from the IBM  
> charset registry ...
> 

The original tables seem to be generated automatically, however manually
broken in some places.

Can anybody point me to the tools the original tables were generated with?

Andrzej

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] for iso8859-13
@ 2001-05-11  0:21 Nerijus Baliunas
  2001-05-11  6:24 ` Andrzej Krzysztofowicz
  0 siblings, 1 reply; 6+ messages in thread
From: Nerijus Baliunas @ 2001-05-11  0:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

Patch for Documentation/Configure.help in 2.4.4-ac6. Adds
missing iso8859-13 to CONFIG_NLS_DEFAULT and corrects some texts.

--- Configure.help        Fri May 11 01:52:15 2001
+++ Configure.help.new        Fri May 11 02:02:53 2001
@@ -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-ru,
-  koi8-u, sjis, tis-620, utf8.
+  iso8859-8, iso8859-9, iso8859-13, 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.
 
@@ -12605,7 +12605,8 @@
   DOS/Windows partitions correctly. This does apply to the filenames
   only, not to the file contents. You can include several codepages;
   say Y here if you want to include the DOS codepage that is used
-  for the Baltic Rim Languages. If unsure, say N.
+  for the Baltic Rim Languages (Latvian and Lithuanian). If unsure,
+  say N.
 
 Codepage 850 (Europe)
 CONFIG_NLS_CODEPAGE_850
@@ -12804,7 +12805,7 @@
   say Y here if you want to include the DOS codepage for Traditional
   Chinese(Big5).
 
-NLS ISO 8859-1  (Latin 1; Western European Languages)
+NLS ISO 8859-1 (Latin 1; Western European Languages)
 CONFIG_NLS_ISO8859_1
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12815,7 +12816,7 @@
   Galician, Irish, Icelandic, Italian, Norwegian, Portuguese, Spanish,
   and Swedish. It is also the default for the US. If unsure, say Y.
 
-NLS ISO 8859-2  (Latin 2; Slavic/Central European Languages)
+NLS ISO 8859-2 (Latin 2; Slavic/Central European Languages)
 CONFIG_NLS_ISO8859_2
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12825,7 +12826,7 @@
   languages: Czech, German, Hungarian, Polish, Rumanian, Croatian,
   Slovak, Slovene.
 
-NLS ISO 8859-3  (Latin 3; Esperanto, Galician, Maltese, Turkish)
+NLS ISO 8859-3 (Latin 3; Esperanto, Galician, Maltese, Turkish)
 CONFIG_NLS_ISO8859_3
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12834,16 +12835,16 @@
   set, which is popular with authors of Esperanto, Galician, Maltese,
   and Turkish.
 
-NLS ISO 8859-4  (Latin 4; old Baltic charset)
+NLS ISO 8859-4 (Latin 4; old Baltic charset)
 CONFIG_NLS_ISO8859_4
   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 Latin 4 character
   set which introduces letters for Estonian, Latvian, and
-  Lithuanian. It is an incomplete predecessor of Latin 6.
+  Lithuanian. It is an incomplete predecessor of Latin 7.
 
-NLS ISO 8859-5  (Cyrillic)
+NLS ISO 8859-5 (Cyrillic)
 CONFIG_NLS_ISO8859_5
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12853,7 +12854,7 @@
   Macedonian, Russian, Serbian, and Ukrainian. Note that the charset
   KOI8-R is preferred in Russia.
 
-NLS ISO 8859-6  (Arabic)
+NLS ISO 8859-6 (Arabic)
 CONFIG_NLS_ISO8859_6
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12861,7 +12862,7 @@
   input/output character sets. Say Y here for ISO8859-6, the Arabic
   character set.
 
-NLS ISO 8859-7  (Modern Greek)
+NLS ISO 8859-7 (Modern Greek)
 CONFIG_NLS_ISO8859_7
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12877,7 +12878,7 @@
   input/output character sets. Say Y here for ISO8859-8, the Hebrew
   character set.
 
-NLS ISO 8859-9  (Latin 5; Turkish)
+NLS ISO 8859-9 (Latin 5; Turkish)
 CONFIG_NLS_ISO8859_9
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12886,7 +12887,7 @@
   set, and it replaces the rarely needed Icelandic letters in Latin 1
   with the Turkish ones. Useful in Turkey.
 
-nls iso8859-10
+NLS ISO 8859-10 (Latin 6; Nordic)
 CONFIG_NLS_ISO8859_10
   If you want to display filenames with native language characters
   from the Microsoft FAT file system family or from JOLIET CDROMs
@@ -12902,7 +12903,8 @@
   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 Latin 7 character
-  set, which supports modern Baltic languages including Latvian.
+  set, which supports modern Baltic languages including Latvian
+  and Lithuanian.
 
 NLS ISO 8859-14 (Latin 8; Celtic)
 CONFIG_NLS_ISO8859_14
@@ -12926,8 +12928,8 @@
   Portuguese, Spanish, and Swedish. Latin 9 is an update to
   Latin 1 (ISO 8859-1) that removes a handful of rarely used
   characters and instead adds support for Estonian, corrects the
-  support for French and Finnish, and adds the new Euro character.  If
-  unsure, say Y.
+  support for French and Finnish, and adds the new Euro character.
+  If unsure, say Y.
 
 NLS KOI8-R (Russian) 
 CONFIG_NLS_KOI8_R




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] for iso8859-13
  2001-05-11  0:21 Nerijus Baliunas
@ 2001-05-11  6:24 ` Andrzej Krzysztofowicz
  0 siblings, 0 replies; 6+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-05-11  6:24 UTC (permalink / raw)
  To: Nerijus Baliunas; +Cc: linux-kernel, Alan Cox

"Nerijus Baliunas wrote:"
> -NLS ISO 8859-1  (Latin 1; Western European Languages)
> +NLS ISO 8859-1 (Latin 1; Western European Languages)

Should'n it be consistent with Config.in ?

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-05-11  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-06 21:04 [PATCH] for iso8859-13 Andrzej Krzysztofowicz
2001-05-07  1:48 ` H. Peter Anvin
2001-05-07  6:37   ` Kai Henningsen
2001-05-07  7:50     ` Andrzej Krzysztofowicz
  -- strict thread matches above, loose matches on Subject: below --
2001-05-11  0:21 Nerijus Baliunas
2001-05-11  6:24 ` Andrzej Krzysztofowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox