Parser error when reading pdf metadata

Bug #1047388 reported by Amic Frouvelle
6
This bug affects 1 person
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:Keywords>Amic Frouvelle, curriculum vit�, resum�</pdf:Keywords>
                                            ^

This is not critical at all, but changing lines 141 and 142 of moderncv.cls by

      pdfsubject = {Résumé of \@firstname{}~\@familyname{}},
      pdfkeywords = {\@firstname{}~\@familyname{}, curriculum vitæ, résumé}}

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).

Tags: pdf utf8
Revision history for this message
Xavier Danaux (xdanaux) wrote :

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)...

Changed in moderncv:
assignee: nobody → Xavier Danaux (xdanaux)
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.