Copy link to clipboard
Copied
Hi all,
I have a RH8 project in Czech language. When I generate the output into CHM format, the Index tab doesn't display correctly the Czech special characters. Notes:
1.- HHK file enconding is correct (UTF-8)
2.- Index displays correctly in Robohelp.
3.- Any other output looks all good (File -> Generate PDF, File -> Print Index, WebHelp output, ...). The index displays all Czech special characters correctly.
4.- In the CHM generated, except for the index tab, the special characters display correctly: TOC, Search tab, HTML pages ...
So the problem is exclusively with CHM output and only in the Index tab.
Please, help.
Héctor.
Here are 4 screenshots:
01 - Robohelp project (All looks good).jpg (TOC, Index and content).
02 - CHM output - "Contents" tab looks good
03 - CHM output - Index tab corrupted (and compared with Index from Robohelp, which looks good)
04 - CHM output - Search tab looks all good
Copy link to clipboard
Copied
Hi,
Did you find a solution to the problem?
This may seem like an obvious thing, but since you didn't mention it: Is your project set to Czech (File -> Project Settings) ?
I am having similar (but not identical) problems in a French translation. I see the errors (1) on the Search tab and (2) in the dialog that is displayed when you click an index keyword that has two or more "hits". In this case it is the é and è characters that are displayed as something else. The strange thing is that not all of them are displayed incorrectly! Some topic titles containing these letters display fine, while others are displayed incorrectly. I can't see what is wrong, despite a detailed analysis of the topics and the HHK file.
I'm hoping that if you solved the problem in your Czech CHM file, it will give me a clue to what I need to fix in my French project.
Thanks
Eileen
Copy link to clipboard
Copied
Not my area but are you using a Unicode font?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
I don't know - is Arial a Unicode font?
Another thing I thought to ask the original poster: Is each topic set to Czech in its Properties? (I had a brainstorm and thought I might have skipped setting some of my topics to French, but no -- they all have the correct language marker.)
/Eileen
Copy link to clipboard
Copied
Yes and no!
Arial is not but you may find Arial Unicode MS on your machine.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
I've solved the problem, which was not in the HTM file. (And since Héctor reported corrupt characters only on the index tab and not in the actual topic, I think the same is probably true in his project.)
Here's what I did with the topic that had its title displaying incorrectly on the Index and Search tabs:
This solved the problem in my help project. I used Beyond Compare to compare the two HTM files, and there was no difference. To me that indicates that there is something going on in the background -- in how the compiler puts together the mass of data for the index & search -- that is causing this problem.
It seems like there must be an easier way to fix it, but I certainly don't know what that might be. The above steps are obviously not practicible if many topics are affected. In my project I'd found only one affected topic.
Peter, does this give you an idea of what might actually be going wrong -- hopefully leading to an easier way for Héctor to fix the problem in his project?
Eileen
P.S. Before I solved the problem, I had also tried deleting the CPD file and recompiling. That didn't help.
Copy link to clipboard
Copied
Not really as being English I expect the rest of the world to speak English so I don't hit these problems.
I notice you had to change the topic language but I guess you had checked that in the topic giving problems.
Just one thing to test if it's not too late. Run Tools > Update DHTML as it is proving to be a bit of a "fix issues" routine. Also try this option, another "fix issues" option.
If that doesn't help, then I'm out of ideas, sorry.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
To start with: Thanks, Eileen & Peter.
To Eileen: Yes, the project is set to Czech. All other languages work just fine (Russian, French, Italian, ...)
To Peter: I'm using UTF-8, which works just fine for all other languages and "everywhere" for Czech, except for the index tab.
To Eileen: Good it's working for you! Not here. I created the index and get the same. Also, that approach would not feasible in my case. Big amount of entries.
To Peter: Thanks for the 2 last tips (Update DHTML & Convert RoboHelp edited topics to HTML). Unfortunately, none of them worked.
Sadly enough, I still have the problem.
And to finish with: Thanks again, Eileen & Peter. 🙂
Héctor.
Copy link to clipboard
Copied
Hi Héctor
Not sure if you've managed to solve your problem, but I had the exact same issue and found a possible solution.
All the index entries in my project are in the *.hhk index file (not in the topics themselves).
What I did:
(backup your project of course :-))
1) Go to File > Project Settings.
2) Under Index, deselect the Binary Index check box.
3) Click Use and OK.
4) Open the index (which loses its sort order for some reason) and sort it (right-click a top-level keyword > Sort > Current level and below)
5) Build and check.
Hope this helps!
Torgeir
INK Norge AS
Copy link to clipboard
Copied
One large aspect of my current job at our company is to compile localized help projects that come back from translation into the .chm output. We support over a dozen languages, so I get odd characters all the time in the index tab and sometimes in the contents tab. Our company has yet to localize a RH project though and our process is to decompile the RH built English .chm and send out the decompiled files for localization. I then recompile the localized files into a .chm format using FAR HTML a very useful third party tool in my opinion.
Given the above process we do, I'm not sure if this applies in your situation, but I figured I'd share anyway as it may give you some ideas of things to try.
I do two things whenever I get weird characters in TOC or in the Index (again this is all outside of RH):
From my experience it seems that not all aspects of the MS Help compiler support unicode and so this step is needed for our process. Perhaps RH has a way of doing this already on its own. But, it may be worth a shot to compile in the system locale of your target language.
Good luck!