I have a WOText component on a page to collect some meta data. My clients have 
been merrily using this app for over a month and all of a sudden, over night, 
in the heat of the moment, they added some text, clicked the insert job button 
and nothing happened. 

My AJAX area should have updated with the data but nada. So I check the logs 
and see errors talking about check the 'client-encoding'. Well, everything is 
UTF8 and it has been working for a month.

After a little DA I discovered that if you type in the WOText area everything 
is fine. However, one user started copying and pasting from an internally 
created Acrobat PDF. Then I discovered that copying and pasting was fine except 
if the text in the PDF was 'Styled'.

So I tested by copying one word from the PDF (the text was colored red) and 
pasting it into the WOText. SaveChanges failed with the 'check 
'client-encoding' error. So I typed the same word next to the pasted word and 
same deal. Then I deleted the pasted word and there was gold.

Has anyone seen this behavior before? I am starting to think that it (the 
problem) is connected to just this class of PDFs that the client is creating as 
I can not reproduce it with any pdfs that I have. I will check to see if she is 
using a really old version of Acrobat to open the pdf, but I still don't get it.

Should I be massaging my data before trying to save it?

Ted


      
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to