https://issues.dlang.org/show_bug.cgi?id=13512

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from [email protected] ---
Actually, a deeper underlying issue that is being assumed, not just by dmd but
by much of druntime/phobos that interfaces with the outside world, is that
system-level things like filenames are UTF-8 encoded. While it's perfectly fine
to do everything only in Unicode internally in D programs, this ultimately
unfounded assumption can cause problems, e.g., if the filesystem uses a
non-utf8 encoding, or if the program is (hypothetically) running on an EBCDIC
machine, or if the D program has to interface with non-Unicode legacy programs.
For example, writeln assumes the target terminal understands utf8, which may
not necessarily be true.

--

Reply via email to