Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandoc dislikes non-ASCII filenames under ghc-7.4.1 #540

Closed
trofi opened this issue Jun 18, 2012 · 3 comments
Closed

pandoc dislikes non-ASCII filenames under ghc-7.4.1 #540

trofi opened this issue Jun 18, 2012 · 3 comments

Comments

@trofi
Copy link
Contributor

trofi commented Jun 18, 2012

Starting from ghc-7.2 'System.Environment.getArgs' started returning expected values

Unfortunately it broke pandoc

# undef ghc-7.4
$ ~/dev/git/pandoc:touch Привет.rst
$ ~/dev/git/pandoc:dist/build/pandoc/pandoc Привет.rst Привет.html
$ pandoc: ÐÑивеÑ.rst: openFile: does not exist (No such file or directory)

It was easy to fix for simple project:
styx/gtc@ba5f07d

Partially it's an utf8-strng fault

@jgm jgm closed this as completed in cc39c31 Jun 24, 2012
@jgm
Copy link
Owner

jgm commented Jun 24, 2012

PS. I'm not sure this is the right base version to test for. Do you know which version of base started properly encoding file paths and arguments? (Or were file paths and command line arguments fixed in different versions of base?) It would be good to get this right, even though this version works with ghc 7.4.*.

@trofi
Copy link
Contributor Author

trofi commented Jun 24, 2012

Thank you!

Both were added in ghc-7.2. The commit:

https://github.com/ghc/packages-base/commit/509f28cc93b980d30aca37008cbe66c677a0d6f6

and it's tree:

https://github.com/ghc/packages-base/blob/509f28cc93b980d30aca37008cbe66c677a0d6f6/base.cabal

Thus base-4.4.0.0 had the change.

@jgm
Copy link
Owner

jgm commented Jun 25, 2012

Thanks. I'll test for 4.4 then instead of 4.5.

+++ Sergei Trofimovich [Jun 24 12 06:35 ]:

Thank you!

Both were added in ghc-7.2. The commit:

https://github.com/ghc/packages-base/commit/509f28cc93b980d30aca37008cbe66c677a0d6f6

and it's tree:

https://github.com/ghc/packages-base/blob/509f28cc93b980d30aca37008cbe66c677a0d6f6/base.cabal

Thus base-4.4.0.0 had the change.


Reply to this email directly or view it on GitHub:
#540 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants