After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593928 - UCS-2 encoding not supported by doxygen
UCS-2 encoding not supported by doxygen
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
: 595861 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-02 15:12 UTC by joris.timmermans
Modified: 2009-12-30 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Minimal example for recreating encoding bug (18.92 KB, application/x-zip-compressed)
2009-09-03 15:06 UTC, joris.timmermans
Details

Description joris.timmermans 2009-09-02 15:12:46 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.
Comment 1 Dimitri van Heesch 2009-09-02 18:52:52 UTC
Please attach a self-contained example (source + config file in a zip) that allows me to reproduce the problem.
Comment 2 joris.timmermans 2009-09-03 15:06:29 UTC
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.
Comment 3 Dimitri van Heesch 2009-09-21 18:21:43 UTC
*** Bug 595861 has been marked as a duplicate of this bug. ***
Comment 4 Sorin Sbarnea 2009-09-21 18:31:33 UTC
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.
Comment 5 Dimitri van Heesch 2009-10-04 13:57:21 UTC
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.
Comment 6 Dimitri van Heesch 2009-12-30 13:38:45 UTC
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).