Menu

#988 Save UFT-8 without BOM

closed
2
2008-08-19
2008-08-19
No

I just compiled TeXnicCenter 2 Unicode and tried to save a tex-file in UTF-8. This works fine and I can make a PDF-file with xetex. But I cannot make a PDF-file using pdflatex. After some investigations, I found out, that pdflatex seems not to be able to parse tex-files that start with a BOM.

As a temporary workaround, I changed CodeDocument.cpp (see attachment), but this is not a solution, you should add a feature to save a file as UTF-8 without BOM.

I know, if there are no special characters, TeXnicCenter will recognize such a document as ANSI, but this should not be a big problem, one can use a speacial character in a comment.

Discussion

  • TO_Webmaster

    TO_Webmaster - 2008-08-19

    Quick and dirty fix to save all UTF-8 files without BOM.

     
  • TO_Webmaster

    TO_Webmaster - 2008-08-19
    • priority: 5 --> 2
     
  • Sergiu Dotenco

    Sergiu Dotenco - 2008-08-19

    Logged In: YES
    user_id=2166098
    Originator: NO

    Thank you for your report. A fix will be committed soon.

     
  • Sergiu Dotenco

    Sergiu Dotenco - 2008-08-19
    • assigned_to: nobody --> sergiudotenco
     
  • Sergiu Dotenco

    Sergiu Dotenco - 2008-08-19
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB