GNOME Bugzilla – Bug 593928
UCS-2 encoding not supported by doxygen
Last modified: 2009-12-30 13:38:45 UTC
When I have a header file with a class declaration in one encoding (say ASCII), and the CPP file is in a different encoding (say UCS-2 Big Endian) Doxygen fails to match the two and does not generate any documentation for the CPP file.
Please attach a self-contained example (source + config file in a zip) that allows me to reproduce the problem.
Created attachment 142413 [details] Minimal example for recreating encoding bug The good class has both header and cpp file in ASCII encoding. The bad class has an ASCII header but a unicode CPP file. The generated documentation seems to indicate that the CPP file of the bad class is not parsed.
*** Bug 595861 has been marked as a duplicate of this bug. ***
This issue should be confirmed. Also I would mark it as critical because it does garbage the entire file. I'm not able to edit the description, but adding Unicode to it would be a good idea.
Confirmed. UCS-2 support will be added to the next subversion update. When the BOM is detected it will overwrite any setting for INPUT_ENCODING.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.2. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).