summaryrefslogtreecommitdiff
path: root/source/codepages
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-10-03 12:18:20 +0000
committerAndrew Tridgell <tridge@samba.org>2001-10-03 12:18:20 +0000
commit1c221994f118dd542a158b2db51e07d04d0e9314 (patch)
tree62d35c89eadd25369216c4c97a0ba90ebc2500b3 /source/codepages
parent4fdd45f3ccde89e2ed022f7bfd91c225af6f161b (diff)
downloadsamba-1c221994f118dd542a158b2db51e07d04d0e9314.tar.gz
switched over to a new method of handling uppercase/lowercase mappings
for unicode strings. The new method relies on 3 files that are mmap'd at startup to provide the mapping tables. The upcase.dat and lowcase.dat tables should be the same on all systems. The valid.dat table says what characters are valid in 8.3 names, and differs between systems. I'm committing the japanese valid.dat here, in future we need some way of automatically installing and choosing a appropriate table. This commit also adds my mini tdb based gettext replacement in intl/lang_tdb.c. I have not enabled this yet and have not removed the old gettext code as the new code is still being looked at by Monyo. Right now the code assumes that the upcase.dat, lowcase.dat and valid.dat files are installed in the Samba lib directory. That is not a good choice, but I'll leave them there until we work out the new install directory structure for Samba 3.0. simo - please look at the isvalid_w() function and think about using it in your new mangling code. That should be the final step to correctly passing the chargen test code from monyo.
Diffstat (limited to 'source/codepages')
-rw-r--r--source/codepages/lowcase.datbin0 -> 131072 bytes
-rw-r--r--source/codepages/upcase.datbin0 -> 131072 bytes
-rw-r--r--source/codepages/valid.datbin0 -> 65536 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/source/codepages/lowcase.dat b/source/codepages/lowcase.dat
new file mode 100644
index 00000000000..62b6e2e952b
--- /dev/null
+++ b/source/codepages/lowcase.dat
Binary files differ
diff --git a/source/codepages/upcase.dat b/source/codepages/upcase.dat
new file mode 100644
index 00000000000..bb6f9beb4e3
--- /dev/null
+++ b/source/codepages/upcase.dat
Binary files differ
diff --git a/source/codepages/valid.dat b/source/codepages/valid.dat
new file mode 100644
index 00000000000..78c14b33f0f
--- /dev/null
+++ b/source/codepages/valid.dat
Binary files differ