1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

17 Commits

Author SHA1 Message Date
Andrew Tridgell
0cfd0a5e54 much better auto-init of valid_table[]. This should just about remove
the need for valid.dat
-
Herb Lewis
51cb4411df get rid of compiler warnings (casts and delete unused variables) -
Andrew Bartlett
b648cc669d Add a few const statements to various odd bits of the tree. (Fixes some
warnings)
-
Andrew Tridgell
e13e8b190c allow all ucs2 chars in utf8, rather than mapping some to a single
char like libiconv does
-
Simo Sorce
60e907b7e8 move to SAFE_FREE() -
Andrew Tridgell
266d8e6766 added "display charset" option in smb.conf, along with d_printf()
which should now be used instead of DEBUG(0) or printf() for
interactive messages

I have only converted client.c to use d_printf(), and the code hasn't
had much testing yet. Eventually we want all interactive code to use
d_printf(), plus SWAT
-
Andrew Tridgell
594f84b4e3 changed the iconv interface to go via ucs2 for all conversions. This
fixes some problems wih some character sets and allows for using
internal charsets in conjunction with ionv charsets
this makes us slower but more correct. speed will come later.
-
Andrew Tridgell
e236a3e29e switch from UCS2 to UCS-2LE -
Andrew Tridgell
95a9a1814f fixed a silly bug in the internal UTF8 implementation -
Andrew Tridgell
25c4b3f193 added some comments and removed an unnecessary check -
Andrew Tridgell
0c61e54f15 optimised the 7 bit case for utf8 conversion -
Andrew Tridgell
42648a7aad make sure we reset the shift state on error for charsets like SJIS -
Andrew Tridgell
76d83e7f70 added builtin support for UTF8 -
Andrew Tridgell
bf81826851 more portability fixes -
Andrew Tridgell
7a5c24c219 portability fixes -
Andrew Tridgell
815ca75274 got rid of __FUNCTION__ debug -
Andrew Tridgell
debb471267 The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
-