dub can't read files from cache

AsmMan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 18 11:14:36 PDT 2014


On Thursday, 18 September 2014 at 16:49:14 UTC, ketmar via 
Digitalmars-d-learn wrote:
> 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.

I didn't know about this encoding. Why should you use KOI8-R 
instead of UTF-8? what does it conver that UTF-8 didn't? I used 
to think UTF-8 does conver all the alphabets around, japonese 
people does use it, isn't?


More information about the Digitalmars-d-learn mailing list