https://issues.dlang.org/show_bug.cgi?id=14861 --- Comment #1 from MGW <mgw at yandex.ru> --- Size ring buffer = 16384 bytes in struct _iobuf*. If Utf-8 sequence is broken off on buffer boundary, it is impossible to return earlier read characters, as in the buffer absolutely other data. --