Let's consider this MNWE (Minimal Not Working example):
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%\usepackage[spanish]{babel} % with or without, same problem
\usepackage{pdfpages}
\begin{document}
\includepdf{plain_chars.pdf}
\includepdf{accénted_chars.pdf}
\end{document}
In the directory the two PDF files exists (they are the same):
-rw-rw-r-- 1 romano romano 4726 Jun 16 16:13 accénted_chars.pdf
-rw-rw-r-- 1 romano romano 4726 Jun 16 16:07 plain_chars.pdf
I am using pdflatex on a standard Ubuntu 14.04 installation, and I have:
! Package pdfpages Error: Cannot find file `acc\IeC {\'e}nted_chars.pdf'.
See the pdfpages package documentation for explanation.
Type H <return> for immediate help.
...
l.10 \includepdf{accénted_chars.pdf}
At first I thought it was a problem with babel, but then I commented it out and it still is not working.
Is it possible to convince \includepdf{} to accept file names with non-ascii char in their name?
\includepdf{\detokenize{accénted_chars.pdf}}might work. – egreg Jun 16 '14 at 22:33