summaryrefslogtreecommitdiff
path: root/source4/include/charset.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2159: converted samba4 over to UTF-16.Andrew Tridgell1-1/+1
I had previously thought this was unnecessary, as windows doesn't use standards compliant UTF-16, and for filesystem operations treats bytes as UCS-2, but Bjoern Jacke has pointed out to me that this means we don't correctly store extended UTF-16 characters as UTF-8 on disk. This can be seen with (for example) the gothic characters with codepoints above 64k. This commit also adds a LOCAL-ICONV torture test that tests the first 1 million codepoints against the system iconv library, and tests 5 million random UTF-16LE buffers for identical error handling to the system iconv library. the lib/iconv.c changes need backporting to samba3 (This used to be commit 756f28ac95feaa84b42402723d5f7286865c78db)
2003-12-16added support for big-endian ucs2 strings (as used by big-endianAndrew Tridgell1-2/+2
msrpc). this was easier than I expected! (This used to be commit a0a51af6b746b1f82faaa49d33c17fea9d708fb0)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+40
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)