• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Robohelp HTML (RH8): Index tab (CHM output) contains corrupted characters (Czech language)

New Here ,
Jun 10, 2010 Jun 10, 2010

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

01-Robohelp project (All good).jpg

02 - CHM output - "Contents" tab looks good

02-CHM output - Contents tab good.jpg

03 - CHM output - Index tab corrupted (and compared with Index from Robohelp, which looks good)

03-CHM output - Index tab corrupted (and compared with Index from Robohelp).jpg

04 - CHM output - Search tab looks all good

04-CHM output - Search tab good.jpg

Views

3.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 30, 2010 Jun 30, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2010 Jun 30, 2010

Copy link to clipboard

Copied

Not my area but are you using a Unicode font?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 30, 2010 Jun 30, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2010 Jun 30, 2010

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

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 30, 2010 Jun 30, 2010

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:

  1. Create a new help topic with the same name & same content, but different file name (for example, add "2" at the end of the file name).
  2. Add the same index keywords to the new topic. (Easy to do in RH... you don't have to type them all in separately.)
  3. Adjust the topic's Language setting. (Just because your project is French or whatever doesn't mean that RH will automatically mark newly created topics as French....)
  4. Change all links to the original topic so they now go to the new topic.
  5. Delete the old topic.
  6. Recompile.

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2010 Jun 30, 2010

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.

ConvertToHTML.jpg

If that doesn't help, then I'm out of ideas, sorry.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 06, 2010 Jul 06, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 07, 2010 Jul 07, 2010

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 03, 2010 Aug 03, 2010

Copy link to clipboard

Copied

LATEST

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

  • First, I open up the .hhp file inside of FAR HTML and make sure the correct language is set under Project Settings.

  • Second, (I'm using Vista...) I open up "Regional and Language Options" from the Control Panel. On the Administrative tab under Language for non-Unicode programs, I click Change system locale. A Regional and Language Settings dialog with a single drop down appears. I then select the target language from that list and click Ok. My computer restarts and I recompile in that system locale and it nearly always clears up weird character problems.

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp