https://issues.dlang.org/show_bug.cgi?id=17180
ag0ae...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ag0ae...@gmail.com --- Comment #1 from ag0ae...@gmail.com --- 1) I see two quotes when I run your code. The last one is not gone. I'm running dmd 2.073.0 on Ubuntu linux. What version of dmd and what operating system are you on? 2) If there is a problem here, I don't think it's with to!string. For any char c, it returns a string [c]. Making '\0' an exception would be surprising. '\0' is a valid char, and "\0" is a valid string (with length 1). --