1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Andrew Tridgell 31c1c7846f r2159: converted samba4 over to UTF-16.
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)
2007-10-10 12:58:27 -05:00
..
2007-10-10 12:57:54 -05:00
2007-10-10 12:58:17 -05:00
2007-10-10 12:57:47 -05:00
2003-08-13 01:53:07 +00:00
2007-10-10 12:57:43 -05:00
2007-10-10 12:56:23 -05:00
2003-08-13 01:53:07 +00:00
2003-08-13 01:53:07 +00:00
2003-12-16 03:45:04 +00:00
2007-10-10 12:56:36 -05:00
2004-02-03 06:37:28 +00:00
2003-08-13 01:53:07 +00:00
2007-10-10 12:58:09 -05:00
2007-10-10 12:56:18 -05:00
2007-10-10 12:56:51 -05:00
2003-08-13 01:53:07 +00:00