summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-02-18 03:11:22 +0000
committerJeremy Allison <jra@samba.org>2000-02-18 03:11:22 +0000
commit1a27ef121a020cba88bf4a39959c7f299a7155ad (patch)
tree8bf3672a49a6310dedb2bd3d91b8007c840bbcee
parent92bf37e21d63c0c9edede1617c85510a16011e7a (diff)
downloadsamba-1a27ef121a020cba88bf4a39959c7f299a7155ad.tar.gz
samba-1a27ef121a020cba88bf4a39959c7f299a7155ad.tar.bz2
samba-1a27ef121a020cba88bf4a39959c7f299a7155ad.zip
Fixes for Eastern Europe code page.
Jeremy. (This used to be commit 0ec82d661a27a02322e5c8da20a18f33bfb24a3e)
-rw-r--r--source3/codepages/codepage_def.8521
-rw-r--r--source3/lib/charcnv.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/codepages/codepage_def.852 b/source3/codepages/codepage_def.852
index ed1423428c..76f6f7de4a 100644
--- a/source3/codepages/codepage_def.852
+++ b/source3/codepages/codepage_def.852
@@ -61,3 +61,4 @@
0xEE 0xDD True True
0xFB 0xEB True True
0xFD 0xFC True True
+ 0xFF 0xFF True True
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 8f91e4573a..2916f0ceda 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -108,6 +108,7 @@ static void init_iso8859_2(void) {
*/
/* MSDOS Code Page 852 -> ISO-8859-2 */
+update_map("\240\377"); /* Fix for non-breaking space */
update_map("\241\244\242\364\243\235\244\317\245\225\246\227\247\365");
update_map("\250\371\251\346\252\270\253\233\254\215\256\246\257\275");
update_map("\261\245\262\362\263\210\264\357\265\226\266\230\267\363");