Re: any ideas about my WOText problem?
Re: any ideas about my WOText problem?
- Subject: Re: any ideas about my WOText problem?
- From: Farrukh Ijaz <email@hidden>
- Date: Sat, 9 Oct 2010 22:21:55 +0300
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@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden