I understand now that the output is not a binary Word file, but rather
an XML file that Word can read.
Rather than setting the encoding on the HTTP response, you might need to
set it in the XML. The first line of this page gave me the idea:
http://www.simonstl.com/articles/officeXML/wordML.html
-
You might want to try IS0-8859-1 rather than UTF-8, i find this works better
for me
Gareth
Max Cooper wrote:
Maybe take the generated one and just fix the bad chars, then compare
the binaries to see what changed. (Word might change all kinds of stuff
when you save it that isn't related to you
Maybe take the generated one and just fix the bad chars, then compare
the binaries to see what changed. (Word might change all kinds of stuff
when you save it that isn't related to your edit, though.)
-Max
On Tue, 2006-02-28 at 17:51 -0800, Max Cooper wrote:
> Your HTTP response is a binary Word
Your HTTP response is a binary Word file, right? If so, it doesn't seem
like you should specify that the HTTP response has a charset (since it
is binary).
Can you create a Word doc with the char you want (by typing in Word)?
Maybe you can compare the binary content of your hand-edited Word doc
wit
Hi all,
I am trying to generate a MS Word document through WordML. The report contains
some special (accentuated) French characters (e.g. é).
In my java code, I am using "XMLOutputter" to generate the document.
In the action class, I set the "response.setContentType("application/msword;
cha
5 matches
Mail list logo