summaryrefslogtreecommitdiff
path: root/source3/lib/charcnv.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-02 00:45:43 +0000
committerJeremy Allison <jra@samba.org>1998-04-02 00:45:43 +0000
commitd99d6f0d2e956037f5a60250b044ccdde9d6a330 (patch)
treee77cb8fdafb7ac59ab95df7d6be6e106032ce10a /source3/lib/charcnv.c
parent92e2ecc3b56cdf07739773b5173a361bc78e5b50 (diff)
downloadsamba-d99d6f0d2e956037f5a60250b044ccdde9d6a330.tar.gz
samba-d99d6f0d2e956037f5a60250b044ccdde9d6a330.tar.bz2
samba-d99d6f0d2e956037f5a60250b044ccdde9d6a330.zip
Updated Eastern European translation table from dan@feld.cvut.cz.
Jeremy. (This used to be commit 84d858782eca2077cd0ce089b156938fa122cf93)
Diffstat (limited to 'source3/lib/charcnv.c')
-rw-r--r--source3/lib/charcnv.c24
1 files changed, 20 insertions, 4 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 20db58e4ab..e92e8170f0 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -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) */