[Issue 8600] "writeln" one parameter garbled

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P2  |P3

--


[Issue 8600] "writeln" one parameter garbled

2021-04-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

--- Comment #4 from Berni44  ---
Thanks. That makes more sense. I guess the expected output should be "1个"
instead of "1?,?"?

--


[Issue 8600] "writeln" one parameter garbled

2021-04-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

ag0aep6g  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||ag0ae...@gmail.com
 Resolution|INVALID |---

--- Comment #3 from ag0aep6g  ---
(In reply to Berni44 from comment #2)
> I'm closing this, because it's unclear, what the bug is and the report is
> old, so it might not even be there anymore. Please feel free to reopen it,
> if you think, the bug still persists.

Reopening. The code is just missing some imports. Fixed test case:


import core.stdc.wchar_, core.stdc.locale;
static import core.stdc.stdio;
import std.stdio: writeln;

extern(C) int setlocale(int, char*);
static this()
{
fwide(core.stdc.stdio.stdout, 1);
setlocale(0, cast(char*)"china");
}
int main(string[] argv)
{
   writeln("1个");
   return 0;
}


--


[Issue 8600] "writeln" one parameter garbled

2021-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

Berni44  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Berni44  ---
I'm closing this, because it's unclear, what the bug is and the report is old,
so it might not even be there anymore. Please feel free to reopen it, if you
think, the bug still persists.

--


[Issue 8600] "writeln" one parameter garbled

2021-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

Berni44  changed:

   What|Removed |Added

 CC||bugzi...@bernis-buecher.de

--- Comment #1 from Berni44  ---
I get:

test.d(6): Error: undefined identifier stdio in package core.stdc, perhaps add
static import core.stdc.stdio;

making the import static, like suggested yields:

test.d(6): Error: undefined identifier fwide

A working example (or a description what fails) would be nice...

--


[Issue 8600] "writeln" one parameter garbled

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8600] "writeln" one parameter garbled

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

Andrei Alexandrescu  changed:

   What|Removed |Added

Version|unspecified |D2

--