antoine seilles wrote:
Sergiu Dumitriu a écrit :
natoine wrote:
Hi
When i try to export a page in pdf , i have this error : (i use XWiki Enterprise 1.6.1.13621 )
Looks like an incorrect encoding setting. Can you tell me: - what container and operating system are you using
Tomcat 5.5 and Ubuntu 8.10
- what is the system (OS) encoding
commande : locale
LANG=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=
- what is the encoding specified in xwiki.cfg and in web.xml
xwiki.cfg : xwiki.encoding=UTF-8 web.xml : UTF-8
But this problem concerns only one page.
The settings look good. Maybe there's something wrong with that particular document? Can you check if the page is valid XML? You can use the validator at http://validator.w3.org/ This aspect should not matter much, since we're also applying JTidy on the source to obtain a valid XML. Can you check the XML export of the page? Just append ?xpage=xml to the URL (in normal view mode, not when exporting). Is there something different about this page, compared to all the others that work? Do you have a public URL I could look at for direct debugging? -- Sergiu Dumitriu http://purl.org/net/sergiu/