Search code examples
coldfusioncoldfusion-9

ColdFusion: invalid source file specified


I am creating a local project. I have a Word doc file with name "Maßnahme3" (these are German characters). I want to convert this to a PDF file and I am trying to do this by using the <cfdocument> tag. But ColdFusion is throwing the following error:

Invalid source C:\\Maßnahme3.doc specified

Anyone have an idea why this is not working?


Solution

  • Place the following 2 lines of code at the top of your ColdFusion page. They let ColdFusion know how to interprete the symbols.

    <cfprocessingdirective pageEncoding="UTF-8">
    <cfset setLocale("German (Standard)")>