khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Problems with german umlate in filename #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. create a pandoc file  with german umlaut in name e.g. "Präsentation.pdc"
2. $markdown2pdf Präsentation.pdc

markdown2pdf: fd:9: hGetContents: invalid argument (Illegal byte sequence)
markdown2pdf: thread blocked indefinitely in an MVar operation

What version of the product are you using? On what operating system?

pandoc 1.8.0.3
Mac OS X 10.6.6
bash: GNU bash, Version 4.1.9(2)-release (i386-apple-darwin10.6.0)

Please provide any additional information below.

$ env | grep -i utf 

LOCALE=UTF-8
LANG=de_DE.UTF-8
LESSCHARSET=utf-8
LC_CTYPE=de_DE.UTF-8

Original issue reported on code.google.com by ned...@googlemail.com on 10 Feb 2011 at 11:16

GoogleCodeExporter commented 9 years ago
Have you isolated the problem to the filename?  That is:  if you rename the 
file to something without non-ascii characters, does it then work properly?

Original comment by fiddloso...@gmail.com on 11 Feb 2011 at 3:03

GoogleCodeExporter commented 9 years ago
Yes I have. When I rename the filename to ascii characters markdown2pdf runs 
fine. 

The same goes for the bash version 3.x.

Original comment by ned...@googlemail.com on 11 Feb 2011 at 8:56

GoogleCodeExporter commented 9 years ago
Fixed in 78cd41c5975bdc69830ea4dfb127b50f19778adb

Original comment by fiddloso...@gmail.com on 13 Feb 2011 at 4:30

GoogleCodeExporter commented 9 years ago
THX!

Original comment by ned...@googlemail.com on 13 Feb 2011 at 6:04