Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
GimmeJava #1
UTF-8 encoded Template and pasting from Word
We are having problems with Contribute retaining UTF-8 FILE encoding when
creating a new page from a template.
A little background info:
We have created a template using Dreamweaver that is to be used fortnightly in
Contribute (V2.0, but we have tested this with V3.0 also, same problem) to
create a company newsletter. Being a newsletter in New Zealand, Maori specific
characters, and of course anything copy and pasted from MS Word, should remain
as is, when published. The template specifies UTF-8 page encoding (in the HTML
header) and the template file itself is UTF-8 encoded. Contribute has also been
configured to create all new pages as UTF-8.
The problem:
When we create a new page, using the template, everything looks fine, at
first... We can copy and paste from MS Word, it looks fine, and the page
encoding is UTF-8. When we save the page ('Save for Later') or publish the
page, all the special characters (Maori spefic, long hyphens, apostrophes, etc)
change to nasty things like ' ???'.
The cause:
When Contribute creates the new page, it retains the PAGE encoding, but it
removes the FILE encoding (UTF-8 FILE encoding is 2 bits added to the beginning
of the file, generally not visible, but you can see them in the file's bit
code. These 2 bits are what Notepad add, when you save a text file as UTF-8).
The solution:
This is where we are stuck... I know other people have had this problem, but I
have yet to have found a solution. Does anyone know what it is? This seems to
be a Contribute problem. Dreamweaver can deal with UTF-8 encoded files just
fine.
Any ideas??
GimmeJava Guest
-
Pasting text into a PHP Template
This is bizarre... I have a PHP template. I built it in Dreamweaver, added some PHP code, and saved it as a PHP file (mytemplate.dwt.php). I use... -
Cutting and pasting special characters from Word intoContribute
When cutting and pasting documents form Word into Contribute 3, most special characters seem to get translated incorrectly into their corresponding... -
Cutting and pasting from Word into C3 with DW templates
I am using Contribute 3 with Dreamweaver templates in what I believe is a fairly standard way that allows me to control the formatting of the... -
Copying parts of PDF docs and pasting into MS Word - resolution lost
I frequently refer to PDF documents from my OEM and need to copy parts (mostly graphics) into MS Word to create our customized documentation. The... -
trouble pasting to word
for what it counts i thank you very much Ian Burton for the painstaking effort, even though 2 months later, i did not have the time to get into it....



Reply With Quote

