--------------------------------------------------------------------------------------
The new approach ended up with 4 different character sets in
Samba. We rely on being able to convert between these character sets
without loss of information.
--------------------------------------------------------------------------------------
CIFS2001 Seattle
While having 4 character sets seems complex, this system has the huge
advantage that it is immediately clear what character set every string
is in. Internally all char* strings are in "Unix Charset" and all
smb_ucs2_t* strings are in UCS2. The other two character sets are only
accessed via isolated IO functions.
Used internally in Samba and by the
filesystem and all Samba config files.
Used when pulling/pushing unicode strings on the wire
Used for pulling/pushing 8-bit strings on
the wire
Used to display strings to users, in the
web interface and command line utilities.
tridge@valinux.com