Updated Eastern European translation table from dan@feld.cvut.cz.
authorJeremy Allison <jra@samba.org>
Thu, 2 Apr 1998 00:41:52 +0000 (00:41 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 2 Apr 1998 00:41:52 +0000 (00:41 +0000)
Jeremy.

source/lib/charcnv.c

index 20db58e4abd161a41ce2e04d216f8ce748d9ad8e..e92e8170f07905c43fd58cfa6d68a94e182290f4 100644 (file)
@@ -79,7 +79,7 @@ update_map("\370\233\371\227\372\243\373\226\374\201\375\354\376\347\377\230");
 
 }
 
-/* Init for eastern european languages. May need more work ? */
+/* Init for eastern european languages. */
 
 static void init_iso8859_2() {
 
@@ -93,9 +93,25 @@ static void init_iso8859_2() {
        dos2unix[i] = CTRLZ;
     }
 
-update_map("\241\244\306\217\312\250\243\235\321\343\323\340\246\227\254\215");
-update_map("\257\275\261\245\346\206\352\251\263\210\361\344\363\242\266\230");
-update_map("\274\253\277\276");
+/*
+ * Tranlation table created by dan@feld.cvut.cz
+ * Requires client code page = 852
+ * and character set = ISO8859-2 in smb.conf
+ */
+update_map("\173\173\174\174\175\175\176\176\241\244\242\364\243\235\244\317");
+update_map("\245\225\246\227\247\365\250\371\251\346\252\270\253\233\254\215");
+update_map("\256\246\257\275\261\245\262\362\263\210\264\357\265\226\2263\210\264\357\265\226\266\230");
+update_map("\267\363\270\367\271\347\272\255\273\234\274\253\275\361\276\247");
+update_map("\277\276\300\350\301\265\302\266\303\306\304\216\305\221\306\217");
+update_map("\307\200\310\254\311\220\312\250\313\323\314\267\315\326\316\327");
+update_map("\317\322\320\321\321\343\322\325\323\340\324\342\325\212\326\231");
+update_map("\327\236\330\374\331\336\332\351\333\353\334\232\335\355\336\335");
+update_map("\337\341\340\352\341\240\342\203\343\307\344\204\345\222\346\206");
+update_map("\347\207\350\237\351\202\352\251\353\211\354\330\355\241\356\214");
+update_map("\357\324\360\320\361\344\362\345\363\242\364\223\365\213\366\224");
+update_map("\367\366\370\375\371\205\372\243\373\373\374\201\375\354\376\356");
+update_map("\377\372");
+
 }
 
 /* Init for russian language (iso8859-5) */