Differences From Artifact [34f51c6008]:
- File
src/OFStdIOStream_Win32Console.h
— part of check-in
[566d4df603]
at
2016-03-13 10:24:22
on branch trunk
— OFStdIOStream_Win32Console: Improve reading
On reads, surrogates that have been cut off are now properly handled. (user: js, size: 804) [annotate] [blame] [check-ins using]
To Artifact [b8fefbb451]:
- File
src/OFStdIOStream_Win32Console.h
— part of check-in
[3a0fdb6701]
at
2016-03-13 19:33:09
on branch trunk
— OFStdIOStream_Win32Console: Improve writing
When writing an incomplete surrogate, it now writes everything up to
that incomplete surrogate, remembers the incomplete surrogate and writes
it as soon as the surrogate is completed by a following write. (user: js, size: 881) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 | #import "OFStdIOStream.h" OF_ASSUME_NONNULL_BEGIN @interface OFStdIOStream_Win32Console: OFStdIOStream { HANDLE _handle; | | > > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #import "OFStdIOStream.h" OF_ASSUME_NONNULL_BEGIN @interface OFStdIOStream_Win32Console: OFStdIOStream { HANDLE _handle; of_char16_t _incompleteUTF16Surrogate; char _incompleteUTF8Surrogate[4]; size_t _incompleteUTF8SurrogateLen; } @end OF_ASSUME_NONNULL_END |