https://issues.dlang.org/show_bug.cgi?id=19518 --- Comment #4 from anonymous4 <dfj1esp02 at sneakemail.com> --- One possible solution is to publish a fork of std.range that treats text as array of code units and use it instead of phobos std.range. --