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

utf-8 with BOM not recognized?

Explorer ,
Apr 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

While going step for step through all my subprojects I'm seeking for errors in Helpcompiler output and found this one:

HHC3004: Warning:

Some_Topic.htm :

The HTML tag "?xml version="1.0" encoding="utf-8" ?" is not a valid HTML tag (it does not begin with an alphanumeric character).

Looking at the file (with notepad++) I find it being an UTF-8 file with BOM. Seems like

Microsoft HTML Help Compiler 4.74.8702

doesn't like it.

So what's with UTF-8 coded files in general in RH (9 in this case).

I understand that HHC et al. are very old Microsoft programs and the may not know about UTF-8 at all, do they?

What is the general strategy to cope with Umlauts etc. in RH-projects?

--

Christoph

EDIT: another observation: I have lots of pages (.htm) that have an UTF-8 BOM and they work flawlessly in the HHC step.

Only this said one on which the Warning occurs, differs in such a way from the others that this topic has a red X over the icon in the TOC treeview.

Strange. I'm trying to remove that topic and recreate it.

A side question: how do I get a topic that is added to the project in the left project broswer view into the TOC at its right place. I can add new topics to the TOC but how do I add an existing one?

Views

431

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 ,
Apr 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

A red X usually means a missing topic. Otherwise I would have thought it could be some small difference in the code. Main thing is whether the topic is in the output and can be viewed in the CHM. UTF8 is something that was added several versions back. I thought it got added on upgrading.

Not sure about umlauts. I think it depends on the language of the RoboHelp installation and the language of the operating system. Perhaps someone else can comment on this aspect.

To add topics to the TOC, just drag them from Project Manager or the Topic List to where you want them.


See www.grainge.org for free RoboHelp and Authoring information.

@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
Explorer ,
Apr 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

https://forums.adobe.com/people/Peter+Grainge  schrieb

To add topics to the TOC, just drag them from Project Manager or the Topic List to where you want them.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

I think UTF-8 covers Umlauts and other special characters. Was just unsure about UTF-8 at all but it's been there for a long time anyway, I think.

It's been just the special bevaviour about that (missing) file. Actually it was there in the project tree and in the FS.

I was fooled by the behaviour of the cursor shape when dragging. It started with a sign. So I thought it was immovable. When dragging further the shape changes. It's irritating.

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 ,
Apr 05, 2018 Apr 05, 2018

Copy link to clipboard

Copied

LATEST

It shows that sign until you have dragged it somewhere it can be moved to. Seems quite logical.


See www.grainge.org for free RoboHelp and Authoring information.

@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
Resources
RoboHelp Documentation
Download Adobe RoboHelp