Parser error when reading pdf metadata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moderncv |
Incomplete
|
Undecided
|
Xavier Danaux |
Bug Description
I get the following error message when reading a pdf created from moderncv (+dvipdf) with evince :
amic@:CV$ evince cv.pdf
Entity: line 6: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE6 0x2C 0x20 0x72
<pdf:
This is not critical at all, but changing lines 141 and 142 of moderncv.cls by
pdfsubject = {Résumé of \@firstname{
pdfkeywords = {\@firstname{
solves the problem, since I am using utf8.
I am not sure that it is valid for any encoding, though.
A nice feature would be that this pdfsubject change with babel (to get it in french for example).
Hi Amic,
Could you confirm you are using an up-to-date version of moderncv and are still seeing this bug? I believe this was fixed as of version 1.1.0 released on July 29, 2012, but I am happy to have another look at it if I am wrong. I use evince too, and haven't seen any warning since then.
I agree the pdfsubject should change with the language used / babel, I just don't know how to do that (yet)...