Re: dub can't read files from cache

2014-09-19 Thread Kagamin via Digitalmars-d-learn
On Thursday, 18 September 2014 at 15:53:03 UTC, Ilya Yaroshenko wrote: Windows 9 will be based on Windows 98 =) Seriously, console application (in Russian lang. Windows) is not unicode-ready. Console API is unicode too. What can be not unicode is console font, but that can happen for GUI

Re: dub can't read files from cache

2014-09-19 Thread Kagamin via Digitalmars-d-learn
On Thursday, 18 September 2014 at 18:26:37 UTC, ketmar via Digitalmars-d-learn wrote: i can't have koi8 string in my D code without ugly \x escapes. i can't have koi8 text in my comments. Great Lord, it's just comments, it's not even DDoc, why can't i write anything i want there?! Editors

Re: dub can't read files from cache

2014-09-18 Thread Kagamin via Digitalmars-d-learn
Windows has full support for unicode, since it's an OS based on unicode. It's old C code, which is not unicode-ready, and it remains not unicode-ready without changing behavior. Modern code like phobos usually tries to be unicode-ready.

Re: dub can't read files from cache

2014-09-18 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Thursday, 18 September 2014 at 10:45:24 UTC, Kagamin wrote: Windows has full support for unicode, since it's an OS based on unicode. It's old C code, which is not unicode-ready, and it remains not unicode-ready without changing behavior. Modern code like phobos usually tries to be

Re: dub can't read files from cache

2014-09-18 Thread ketmar via Digitalmars-d-learn
On Thu, 18 Sep 2014 15:53:02 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Seriously, console application (in Russian lang. Windows) is not unicode-ready. that's 'cause authors tend to ignore W-functions. but GNU/Linux is not better, 'cause authors tend

Re: dub can't read files from cache

2014-09-18 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Thursday, 18 September 2014 at 16:05:15 UTC, ketmar via Digitalmars-d-learn wrote: On Thu, 18 Sep 2014 15:53:02 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Seriously, console application (in Russian lang. Windows) is not unicode-ready. that's

Re: dub can't read files from cache

2014-09-18 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Thursday, 18 September 2014 at 16:05:15 UTC, ketmar via Digitalmars-d-learn wrote: On Thu, 18 Sep 2014 15:53:02 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Seriously, console application (in Russian lang. Windows) is not unicode-ready. that's

Re: dub can't read files from cache

2014-09-18 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Thursday, 18 September 2014 at 16:05:15 UTC, ketmar via Digitalmars-d-learn wrote: On Thu, 18 Sep 2014 15:53:02 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Seriously, console application (in Russian lang. Windows) is not unicode-ready. that's

Re: dub can't read files from cache

2014-09-18 Thread ketmar via Digitalmars-d-learn
On Thu, 18 Sep 2014 16:31:08 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: one ring to rule them all UTF-8 = Lord of the encodings. i want 42th symbol from the string. what? what do you mean saying that i must scan the whole string from the beginning to

Re: dub can't read files from cache

2014-09-18 Thread ketmar via Digitalmars-d-learn
On Thu, 18 Sep 2014 16:24:17 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@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

Re: dub can't read files from cache

2014-09-18 Thread AsmMan via Digitalmars-d-learn
On Thursday, 18 September 2014 at 16:51:06 UTC, ketmar via Digitalmars-d-learn wrote: On Thu, 18 Sep 2014 16:31:08 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: one ring to rule them all UTF-8 = Lord of the encodings. i want 42th symbol from the string.

Re: dub can't read files from cache

2014-09-18 Thread AsmMan via Digitalmars-d-learn
On Thursday, 18 September 2014 at 16:49:14 UTC, ketmar via Digitalmars-d-learn wrote: On Thu, 18 Sep 2014 16:24:17 + Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: You can choice encoding for console in Linux yes. and i chose koi8. yet many utilities tend

Re: dub can't read files from cache

2014-09-18 Thread ketmar via Digitalmars-d-learn
On Thu, 18 Sep 2014 18:14:36 + AsmMan via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: 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,

Re: dub can't read files from cache

2014-09-18 Thread ketmar via Digitalmars-d-learn
On Thu, 18 Sep 2014 21:26:27 +0300 ketmar via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: btw, D lexer tries to validate even shebangs. WUT?! why can't i put non-utf8 text in shebang? ah, it's utf-8 or die again, i see... signature.asc Description: PGP signature

Re: dub can't read files from cache

2014-09-17 Thread Kagamin via Digitalmars-d-learn
Looks like an error from the compiler, non-ascii characters in file path can affect it.

Re: dub can't read files from cache

2014-09-17 Thread Gary Willoughby via Digitalmars-d-learn
On Wednesday, 17 September 2014 at 12:08:51 UTC, Kagamin wrote: Looks like an error from the compiler, non-ascii characters in file path can affect it. Try raising an issue here: https://github.com/D-Programming-Language/dub/issues

Re: dub can't read files from cache

2014-09-17 Thread Suliman via Digitalmars-d-learn
Is it's possible to change dub package cache dir?

Re: dub can't read files from cache

2014-09-17 Thread Ilya Yaroshenko via Digitalmars-d-learn
On Tuesday, 16 September 2014 at 17:11:14 UTC, Ruslan wrote: Note. ╨а╤Г╤Б╨╗╨░╨╜ is a cyrillic word. That should not affect because dub only displays so. Если Вы программируете (не только на D), то Вам стоит сменить учетную запись на латинскую. От кириллической много проблем, в особенности

Re: dub can't read files from cache

2014-09-16 Thread Ruslan via Digitalmars-d-learn
Note. ╨а╤Г╤Б╨╗╨░╨╜ is a cyrillic word. That should not affect because dub only displays so.