-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
stack ghci probably shouldn't change the code page #757
Comments
Would you be able to take a crack at the codepage stuff? This is an area I have virtually no experience with, and I haven't been able to reproduce these problems since both consoles I've tried seem to support utf8 just fine |
I don't have much time at the moment. I'm only taking such an active interest in I'm just on the standard Windows 8.1 |
Using the standard It's theoretically possible that this is because I've installed Hebrew support, but I really have no idea why my cmd prompt works in this case and yours doesn't. Regarding reproducing problems: https://ghc.haskell.org/trac/ghc/ticket/10762 gives some solid repros for the bugs we were encountering. Note that -ddump-hi is necessary in stack in order to detect files missing from the .cabal file. |
I'll be upgrading to Windows 10 when things calm down, so maybe its fixed there. If there is a Win 8.1 only bug it's a lot less important. |
BTW, why not use |
It doesn't; the hi dump includes the TH dependencies, and is generated as part of the normal build process. I'd be surprised if generating the Makefile as a separate step is faster than that, plus we'd have to write a significantly more complicated parser. |
Michael, which font do you use at the screenshot from Win-10? |
Consolas |
Thanx. Probably I need to upgrade to Win-10 at some point. At my current Win-7 Consolas looks really ugly. |
Shrug, no idea. I haven't tweaked things much. On Thu, Aug 13, 2015, 9:12 AM Ihar Hancharenka notifications@github.com
|
BTW, At my Win-8 laptop Consolas is also much nicer. A also haven't tweaked it at all :) |
I've had hit-and-miss experiences with this code-page stuff. Windows 10 console seems to support it well enough, but |
With Win10 I don't have any problems, the characters display properly, so my initial concern is no longer a problem. |
I think Win10 will be a minority for a while still. |
Trying it again after a |
I've just pushed a commit to master which does the following:
|
Confirmed that fixes my issue with ghci. |
Cool, closing. |
Using Cmder (http://cmder.net/) and MSYS2, I seem to need to pass the |
Thanks Emanuel! |
On Windows, if I run
stack ghci
, when I get errors I see:If
stack ghci
on Windows is changing the codepage to something the console very definitely doesn't support, and as a result, it looks terrible. Withoutstack
in the way I get:I would be entirely happy without any smart quotes, but garbling the text nearby is a little unfortunate.
The text was updated successfully, but these errors were encountered: