On Friday, 17 February 2017 at 21:34:16 UTC, ag0aep6g wrote:
On 02/17/2017 09:24 PM, Ali Çehreli wrote:It's the Unicode character "U+FFFD REPLACEMENT CHARACTER", which is represented by 2 chars in D.It takes 3 `char`s to represent U+FFFD: void main() { import std.stdio; writeln("\uFFFD".length); /* prints "3" */ }
Yes I also think about the possibility of the user to use the char definition to read a sequence of characters, but calm ....
