ObjFW  Check-in [9d3cd5e5fe]

Overview
Comment:OFString: Zero-terminate UTF-16 strings.

This partly reverts e8502c7.

The rationale behind this is that, on some OSes, native APIs (on e.g.
Windows) take UTF-16 strings that are zero-terminated.

However, forcing zero-termination for every string so that -[characters]
returns a zero-terminated UTF-32 string does not make sense. Therefore,
in the future, -[UTF32String] will be added, which will include
zero-termination. OFString subclasses can then just return their
internal representation if it includes a terminating zero or create a
copy that has a terminating zero if not.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9d3cd5e5fe7a26dc10fe5687da330eea1405737024203706b724c907b8535074
User & Date: js on 2013-01-07 22:07:58
Other Links: manifest | tags
Context
2013-01-07
23:42
Win32: Correctly handle Unicode in environment. check-in: 1fb00cc3b4 user: js tags: trunk
22:07
OFString: Zero-terminate UTF-16 strings. check-in: 9d3cd5e5fe user: js tags: trunk
14:49
OFProcess: Implement environment passing on Win32. check-in: f51bceaa35 user: js tags: trunk
Changes