Export to GitHub

pandoc - issue #286

Problems with german umlate in filename


Posted on Feb 10, 2011 by Swift Ox

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

Comment #1

Posted on Feb 11, 2011 by Grumpy Dog

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?

Comment #2

Posted on Feb 11, 2011 by Swift Ox

Yes I have. When I rename the filename to ascii characters markdown2pdf runs fine.

The same goes for the bash version 3.x.

Comment #3

Posted on Feb 13, 2011 by Grumpy Dog

Fixed in 78cd41c5975bdc69830ea4dfb127b50f19778adb

Comment #4

Posted on Feb 13, 2011 by Swift Ox

THX!

Status: Fixed

Labels:
Type-Defect Priority-Medium