Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Studio 12 built-in iconv doesn't know Windows-1250 HtmlHelp::initialize (Origin: bugzilla #599128) #3564

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant
Copy link

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.6.1 on platform Other
Assigned to: Dimitri van Heesch

On 2009-10-20 23:41:20 +0000, Lou Hafer wrote:

In HtmlHelp::initialize, if CHM_INDEX_ENCODING is undefined, it defaults to Windows-1250. The Studio 12 iconv_open builtin doesn't know this encoding name and returns -1. A core dump follows shortly after from HtmlHelp::recode during index generation. CP1250 works ok, and is listed as a synonym, but I have no idea if that's an acceptable equivalent --- I just don't have much knowledge of what's being generated here. The generated HTML looks ok in a casual inspection with Firefox.

I'm forcing the solaris-cc build environment. CC version info is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25

const char str = Config_getString("CHM_INDEX_ENCODING");

In the Solaris CC environment, the builtin iconv doesn't grok Windows-1250.
It does understand the (supposedly equivalent) CP1250.

if(!str) str = "Windows-1250";

if(!str) str = "CP1250";
m_fromUtf8 = portable_iconv_open(str,"UTF-8");

On 2009-10-25 14:49:28 +0000, Dimitri van Heesch wrote:

Thanks, I'll include this patch.

On 2009-12-30 13:38:48 +0000, Dimitri van Heesch wrote:

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

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.