|
Home > Archive > Microsoft Content Management Server > September 2005 > Illegal Chars - Encoding, Charset & MS Word
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Illegal Chars - Encoding, Charset & MS Word
|
|
| Stephen Cassels 2005-09-26, 6:00 pm |
| We have a problem when pasting from MW Word into the editor. We are getting
illegal characters in the content, for example:
The festival is based at ?Blair?, but stretches out to include three
highland glens ? Strathardle, Glenshee and Glen Isla. If you are a dedicated
walker, you?ll undoubtedly have heard of Munros and Corbetts ? mountains
above 3,000 and 2,000 feet respectively.
The question marks should be apostrophes, we also see the letter "f"
replaced by a question mark as well.
Our users are pasting from MS Word 2003 running on Win XP using IE Version
6.0.
The editor is configured to save as XHTML and all formatting is stripped on
paste. The web pages are using an XHTML transitional doc type and the
charset is set in the html meta with:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
This is a bit redundant as it is also set in the Globalisation settings of
the web config.
Even with these settings the illegal characters are getting through.
Even pasting into Notepad does not strip the illegal chars.
Is there a solution to this?
--
Stephen
| |
| Stefan [MSFT] 2005-09-26, 6:00 pm |
| Hi Stephen,
to correct this either implement a workflow event that removes the invalid
chars or a custom placeholder control to do this job.
A control that could be used and tailored for this job can be found here:
http://www.gotdotnet.com/Community/...5F-B47D4C58230F
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Stephen Cassels" <StephenCassels@discussions.microsoft.com> wrote in
message news:6A585CC1-B247-42D5-9F08-A198B46AA878@microsoft.com...
> We have a problem when pasting from MW Word into the editor. We are
> getting
> illegal characters in the content, for example:
>
>
> The festival is based at ?Blair?, but stretches out to include three
> highland glens ? Strathardle, Glenshee and Glen Isla. If you are a
> dedicated
> walker, you?ll undoubtedly have heard of Munros and Corbetts ? mountains
> above 3,000 and 2,000 feet respectively.
>
>
> The question marks should be apostrophes, we also see the letter "f"
> replaced by a question mark as well.
>
> Our users are pasting from MS Word 2003 running on Win XP using IE Version
> 6.0.
>
> The editor is configured to save as XHTML and all formatting is stripped
> on
> paste. The web pages are using an XHTML transitional doc type and the
> charset is set in the html meta with:
>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>
> This is a bit redundant as it is also set in the Globalisation settings of
> the web config.
>
> Even with these settings the illegal characters are getting through.
>
> Even pasting into Notepad does not strip the illegal chars.
>
> Is there a solution to this?
>
> --
>
>
> Stephen
|
|
|
|
|