jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: No hits returned when searching .txt file
Date Mon, 27 Mar 2006 15:40:59 GMT
El lun, 27-03-2006 a las 07:32 -0800, thomasg escribió:
> Hi Marcel,
> 
> Thanks for your advice. I tried creating my text file using notepad and
> choosing UTF-8 as the Encoding in the save dialogue. I added this to my
> code:
> 
> resourceNode.setProperty("jcr:encoding", "UTF-8"); //Also tried "UTF8"
> 
> Unfortunately my query still returns no hits. Would you expect this to work
> or can you please suggest a better combination of encodings and encoding
> string to try. Cheers, Thomas

How can I detect a file encoding?

Thansk!
-- 
Paco Avila <pavila@git.es>


Mime
View raw message