converting Frontpage Intranet to CC...

User 271657 Photo


Ambassador
3,816 posts

My guess is that these strange characters have something to do with the doctype and the charset in the FP-created code.

I think Inger's on to something - check this out:
http://www.coffeecup.com/help/articles/ … my-website
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 427513 Photo


Registered User
10 posts

Thanks for the suggestion piantbrush, I checked that in the header and it was shown as this;
< META http-equiv=Content-Type content="text/html; charset=unicode">
so, I changed it to this;
< META http-equiv=Content-Type content="text/html; charset=utf-8"> because this is the doctype shown at top of header; <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

However, it still gives me the weird characters when I try to open with CC HTML editor. Maybe there's something else in the header doing this, so following is the entire header section;
-------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

<HEAD>
<TITLE>St. Michael's Intranet</TITLE>
< META http-equiv=Content-Language content=en-us>
< META http-equiv=Content-Type content="text/html; charset=unicode">
<LINK
href="index_files/filelist.xml" rel=File-List>

<STYLE>
<!--
div.Section1
{page:Section1;}
-->
</STYLE>
<!--[if !mso]>
<STYLE>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
span.bodybold1
{font-family:Verdana;
font-weight:bold}
span.body1
{font-family:Verdana;
}
</STYLE>
<![endif]-->
< META content="Microsoft FrontPage 6.0" name=GENERATOR>
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
<!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</HEAD>

User 122279 Photo


Senior Advisor
14,624 posts

Jon, try this as your meta tags:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
<meta name="created" content="on, 04 mai 2011 20:26:25 GMT">
<meta name="description" content="">
<meta name="keywords" content="">
<title>St. Michael's Intranet</title>

Then you go on with the styles, etc.

Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 427513 Photo


Registered User
10 posts

Inger-

that worked! Although the layout is a little off from where it was, that can be easily fixed. Now that I'm using CC HTML editor it will be easier to make changes. They have a very old version of Front Page (2002) and it's a long ways off from the newest version of CC HTML editor.
thanks to everyone for your help and suggestions!
User 122279 Photo


Senior Advisor
14,624 posts

I'm glad it did! :)
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2322012 Photo


Registered User
65 posts

Oddly, I only have the problem when viewing the page preview in CC. (Which is annoying) My pages look fine on the Internet, but when previewing in CC I get all the strange character codes for commas and apostrophes. And, even odder is that it doesn't do it in every instance.
User 122279 Photo


Senior Advisor
14,624 posts

Tim,

Which language is your site?
What doctype declaration have you added to the pages?
What kind of charset declaration do you have?
Which IE version have you set to be used for previewing in HTML Editor?

We can help when you tell us the answers to these questions.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 471275 Photo


Ambassador
1,130 posts

I just had to create a website in French and so I put the text in a word document and then copy and pasted it into the code section of html editor and all the characters showed up without any problems in all browsers. Worth giving it a try.



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.