Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: Several questions - Fonts - special Characters
Started by Sam at 09-25-2009 1:15 PM. Topic has 6 replies.

Print Search « Previous Thread Next Thread »
  09-25-2009, 1:15 PM
Sam is not online. Last active: 9/26/2009 3:51:08 AM Sam

Top 150 Posts
Joined on 09-26-2009
Posts 1
Several questions - Fonts - special Characters
Reply Quote
Is there a way to specify the default font for the contents / search sections ?

For the content section is the font derived from the word documents font ?

When I post the converted document to the web server (I believe its linux) I see a number of 'special characters' that are inserted in place of spaces or quotes in my word document.  It looks like a diamond with a question mark inside. If I manually edit the html file in hex and replace;
xA0 with x20
x92 with x27
x93 with x22
x94 with x22
the page appears correctly - is there a way to automate this conversion ?


   Report 
  09-27-2009, 6:01 PM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: Several questions - Fonts - special Characters
Reply Quote
Please add the following code to  <Addins>  node of .word2web project file and try again:

    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="[\xA0]" ReplaceHTML="&#20;"/>
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="[\x92]" ReplaceHTML="&#27;"/>
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="[\x93\x94]" ReplaceHTML="&#22;"/>

   Report 
  03-10-2010, 10:13 PM
cspt is not online. Last active: 3/16/2010 11:22:51 AM cspt

Top 50 Posts
Joined on 03-11-2010
Posts 3
Re: Several questions - Fonts - special Characters
Reply Quote
Tried this in both Default.word2web and also my saved project file, which now looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Word2Web FileVersion="2">
  <WordFile>.\Word.docx</WordFile>
  <OutPath>P:\x\base\help\loc\de</OutPath>
  <WebTitle>Software Help</WebTitle>
  <WebFileExt>.html</WebFileExt>
  <FirstPage>index.html</FirstPage>
  <Template>WebTemplates\NoSearch\RL</Template>
  <Options RelatedTopicTitle="Related Topics" Language="-1" PageFileNameRule="Default" ShowNavigator="True" ShowRelatedTopic="False" RefToLink="True" UsePNG="False" CoverPageTitle="Cover" ShowChapterNo="False" MergeAtLevel="1" Engine="Auto"/>
  <Settings BackColor="#666666" BorderColor="#666666" PageTitleColor="#FFFFFF" NodeColor="#EEEEEE" HotNodeColor="#FFFFFF" IsLocalHelp="True" ShowHomeLink="False" HomeText="Home" PrevText="Prev" NextText="Next" PrintText="Print" Copyright="Copyright © 2004-2010 Company Name" ShowTreeTooptip="False" AutoCollapseTree="False" AutoCollapseOIC="False" WrapHeading="True" AutoSync="True" LeftPanelWidth="240"/>
  <Addins>
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="[\xA0]" ReplaceHTML=""/>
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="[\x92]" ReplaceHTML=""/>
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="[\x93\x94]" ReplaceHTML=""/>
  </Addins>
  <Themes/>
</Word2Web>

Both generate an error on loading:
"(6742~FD5A~A87C~CBB0~B8D3A7),ecc3r11c34ws31wf3,E,-I600, IE7.0:Invalid unicode character."

Is there something I'm missing?
   Report 
  03-11-2010, 9:57 PM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: Several questions - Fonts - special Characters
Reply Quote
Please replace the ReplaceHTML as &#xx; instead of the unicode character.
   Report 
  03-15-2010, 8:24 PM
cspt is not online. Last active: 3/16/2010 11:22:51 AM cspt

Top 50 Posts
Joined on 03-11-2010
Posts 3
Re: Several questions - Fonts - special Characters
Reply Quote
That's actually what I cut directly from your example above.  It's only the forum software tool encoded the characters wrong.
   Report 
  03-17-2010, 5:07 PM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: Several questions - Fonts - special Characters
Reply Quote
Could you please send the .word2web file and a sample Word document to supports@macrobject.com for test?
   Report 
  05-15-2010, 12:40 PM
csrwild is not online. Last active: 5/16/2010 3:41:48 AM csrwild

Top 200 Posts
Joined on 05-16-2010
Posts 1
Re: Several questions - Fonts - special Characters
Reply Quote
I think you need to use the HTML special entity &amp;  (ampersand+amp+semicolon) followed by the #20; in the ReplaceHTML parameter to get it to work.

ReplaceHTML="&amp;#20;"

   Report 
Post
Macrobject Comm... » Help Authoring ... » Word-2-Web Conv... » Re: Several questions - Fonts - special Characters

Powered by Community Server, by Telligent Systems