2 messages in org.apache.jackrabbit.usersRe: Re : Re : Binary Content Search P...
FromSent OnAttachments
Patrick WiderOct 23, 2007 3:18 am 
Jukka ZittingOct 23, 2007 3:30 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Re : Re : Binary Content Search Problem...Actions...
From:Jukka Zitting (jukk@gmail.com)
Date:Oct 23, 2007 3:30:50 am
List:org.apache.jackrabbit.users

Hi,

On 10/23/07, Patrick Wider <pat_@yahoo.fr> wrote:

Node res1 = file1.addNode("jcr:content", "nt:resource"); res1.setProperty("jcr:mimeType", mimetype); res1.setProperty("jcr:encoding", "");

Gotcha. The current PlainTextExtractor class will use the jcr:encoding value as-is if the property is available, and fail silently (I guess we should at least add some logging...) if the encoding is not supported by the JVM.

You should either not set the jcr:encoding property at all or set it to a valid encoding name.

BR,