Hi Ted,

I suspect the copy/paste operation is causing problem. I think the text that is 
being copied contains some character(s) which your DB doesn't like. Ask your 
client to copy/paste the text on a text pad and see what is difference between 
the pasted text and the text in the PDF. May the whole text is converted into 
Adobe's weird encoding. I used to face this problem for indexing PDF files 
containing Arabic text.

Just a try.

Farrukh

Sent from my iPad

On 09-Oct-2010, at 10:00 PM, Theodore Petrosky <[email protected]> wrote:

> I had asked before about a problem I had accepting text that was pasted into 
> a WOText area from Acrobat.
> 
> I have a client that is copying text that is styled from a PDF and pasting it 
> into a WOText area. 
> 
> I get failures when I do saveChanges() on the editing context with an error 
> claiming that I should check the 'client-encoding'.
> 
> I am only seeing this with my client that has Acrobat 8 (OS X 10.5). 
> 
> I have accessors that are bound to my WOText area:
> 
> 
>    public String jobDescription() {
>        return _jobDescription;
>    }
> 
>    public void setJobDescription(String aJobDescription) {
>        _jobDescription = aJobDescription;
>    }
> 
> should I be validating my data here or parsing it to make sure I only have 
> ascii? I have never been bitten by this problem before and don't have a clue 
> where to look.
> 
> 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/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to [email protected]
 _______________________________________________
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