haiku/headers
John Scipione ebd3bcdb9b exfat: handle 4-byte UTF-16 surrogate pairs
... in filenames. Replace the existing Unicode conversion functions
with UTF conversion functions from js that he relicensed MIT for us.

Put the UTF conversion functions in a private but shared code location
so that they can be accessed throughout the kernel.

Right now we only provide functions to convert between UTF-8 and UTF-16.
At some point we should also add functions to convert between UTF-8 and
UTF-32 and UTF-16 and UTF-32 but these aren't needed by exfat.

Remove the old Unicode conversion functions from exfat as they assumed
UCS-2 characters and don't work with UTF-16 used by exfat.

Rename most variables with the term length with code unit where code units
are intended. The term length, when used, means length in bytes while code
units represent either a full 2-byte UTF-16 character or half a 4-byte
surrogate pair.
2014-04-11 18:46:03 -04:00
..
build Fixed multi-line #ifdef 2014-03-18 20:40:02 +01:00
compatibility histedit.h: Add missing #include <sys/cdefs.h> 2014-03-15 04:34:46 +01:00
config ARM: Be aware of ARMEL and ARMEL 2014-01-01 23:41:02 -07:00
cpp Add another mssing string::compare prototype. 2014-01-17 10:00:32 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Fixed execute bits of AGG headers. 2014-02-04 23:51:49 +01:00
os Fix button label position, try number 2 2014-04-08 14:10:10 -04:00
posix stdio.h: Add missing *_unlocked declarations 2014-03-09 23:08:51 +01:00
private exfat: handle 4-byte UTF-16 surrogate pairs 2014-04-11 18:46:03 -04:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00