April 03, 2013 Re: OSX users out there? Serious bug (I think) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | On 4/3/13 3:40 PM, Denis Shelomovskij wrote:
> 03.04.2013 21:35, Andrei Alexandrescu пишет:
>> On 4/2/13 4:45 AM, Denis Shelomovskij wrote:
>>> I'm worrying about newbies who can start using the language as there is
>>> no warning on the main site about some shortcomings everybody have to be
>>> informed about. Damn, `std.stdio.File` is positioned as an official and
>>> working thing to read/write files (it is even on the main page) what can
>>> I add?
>>
>> You definitely can add the File-related bugzilla numbers that prevent
>> you from getting work done. (Allow me to add some meta-text here - the
>> above paragraph's rhetoric is exactly what I'm talking about that
>> doesn't help. If the focus is adding value, then mentioning the exact
>> issues would definitely be better than sarcastic hyperbole.)
>
> This is "Issue 7648 - std.stdio expects file names to be encoded in
> CP_ACP on Windows instead of UTF-8" [1]. I also opened a pull with
> cautionary note [2].
>
> [1] http://d.puremagic.com/issues/show_bug.cgi?id=7648
> [2] https://github.com/D-Programming-Language/phobos/pull/1238
Great, thanks! Could someone with more experience in Windows review and pull this comment? What would be the design of a fix?
Andrei
|
April 03, 2013 Re: OSX users out there? Serious bug (I think) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 04.04.2013 0:54, Andrei Alexandrescu пишет: > On 4/3/13 3:40 PM, Denis Shelomovskij wrote: >> This is "Issue 7648 - std.stdio expects file names to be encoded in >> CP_ACP on Windows instead of UTF-8" [1]. I also opened a pull with >> cautionary note [2]. >> >> [1] http://d.puremagic.com/issues/show_bug.cgi?id=7648 >> [2] https://github.com/D-Programming-Language/phobos/pull/1238 > > Great, thanks! Could someone with more experience in Windows review and > pull this comment? What would be the design of a fix? > > Andrei > IMHO, as there is already a working stuff for file IO in Phobos the main issue is the lack of this comment. As a fix I'd like to rewrite the module using OS API to finally solve other issues but I failed with it because of lack of time. If half year awaiting a appropriate you can assign this to me. No 100% guarantee, of course, but a chance to be stigmatized will force me to finish the work. -- Денис В. Шеломовский Denis V. Shelomovskij |
Copyright © 1999-2021 by the D Language Foundation