[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2014-02-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8643



--- Comment #8 from Vladimir Panteleev thecybersha...@gmail.com 2014-02-14 
21:31:36 EET ---
Sorry, meant to comment on issue 7648.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2014-02-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8643


Vladimir Panteleev thecybersha...@gmail.com changed:

   What|Removed |Added

 CC||thecybersha...@gmail.com


--- Comment #7 from Vladimir Panteleev thecybersha...@gmail.com 2014-02-14 
21:30:26 EET ---
How about using CreateFile + windowsHandleOpen + fdopen?

https://github.com/D-Programming-Language/phobos/pull/1888

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2013-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8643


Denis Shelomovskij verylonglogin@gmail.com changed:

   What|Removed |Added

 AssignedTo|verylonglogin@gmail.com |nob...@puremagic.com


--- Comment #6 from Denis Shelomovskij verylonglogin@gmail.com 2013-10-19 
14:02:11 MSD ---
(In reply to comment #5)
 Assigned to myself. Reassign is somebody feels he can do it faster.

Sorry, this is not the issue I'm solving. Reset assignee to default and opened
Issue 11298 which will allow Issue 7648 to be resolved without fixing this one.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2013-10-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8643


Denis Shelomovskij verylonglogin@gmail.com changed:

   What|Removed |Added

   Severity|critical|major


--- Comment #4 from Denis Shelomovskij verylonglogin@gmail.com 2013-10-18 
09:59:12 MSD ---
(In reply to comment #3)
 Increasing severity as this is really basic functionality.

One can use `std.stream` which contains this functionality.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2013-10-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8643


Denis Shelomovskij verylonglogin@gmail.com changed:

   What|Removed |Added

 AssignedTo|nob...@puremagic.com|verylonglogin@gmail.com


--- Comment #5 from Denis Shelomovskij verylonglogin@gmail.com 2013-10-18 
13:34:42 MSD ---
Assigned to myself. Reassign is somebody feels he can do it faster.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2013-10-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8643


S�nke Ludwig slud...@outerproduct.org changed:

   What|Removed |Added

   Severity|major   |critical


--- Comment #3 from S�nke Ludwig slud...@outerproduct.org 2013-10-17 14:18:59 
PDT ---
Increasing severity as this is really basic functionality.

This was also reported as a DUB bug: 
https://github.com/rejectedsoftware/dub/issues/130

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2012-09-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8643



--- Comment #2 from github-bugzi...@puremagic.com 2012-09-16 20:45:19 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/d7a60b3b8a5a4d0ebc7743ae1a1502133521b571
Disable non-ASCII characters test because of snn.lib Issue 8643

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8643] [snn] _wfopen and other non-standard wide-character functions fail with non-ASCII symbols

2012-09-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8643



--- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2012-09-12 
00:27:31 MSD ---
These functions treats every UTF-16 codepoint as CP_ACP byte followed by zero
byte (if second byte is non-zero, Invalid argument is returned). E.g. this
will work:
---
import std.file: write;
import std.windows.charset: toMBSz;
import core.stdc.stdio: perror;
import std.exception: enforce;

extern (C) nothrow int _wrename(in wchar* from, in wchar* to);

void main()
{
write(1.txt, 123);
wchar[7] arr = 2#.txt\0w;
arr[1] = toMBSz(Ю)[0];
enforce(_wrename(1.txtw.ptr, arr.ptr) == 0);
}
---
(still don't understand File exists output of original example in
description)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---