dub can't read files from cache

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 18 09:49:03 PDT 2014


On Thu, 18 Sep 2014 16:24:17 +0000
Ilya Yaroshenko via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

> You can choice encoding for console in Linux
yes. and i chose koi8. yet many utilities tend to ignore my locale
when reading files (hey, D compiler, i'm talking about you!). i don't
care about localized messages (i'm using English messages anyway), but
trying to tell me that my text file is invalid utf-8, or my filename is
invalid utf-8, or spitting utf-8 encoded messages to my terminal drives
me mad. what is so wrong with locale detection that virtually nobody
does that? we have iconv, it's readily available on any decent
GNU/Linux platform, yet it's still so hard to detect that stinky locale
and convert that stinky utf-8 to it? BS. (hey, phobos, i'm talking about
your stdout.write() here too!)

the whole "utf-8 or die" attitude has something very wrong in it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140918/287f356d/attachment.sig>


More information about the Digitalmars-d-learn mailing list