|
|||
|
Hey !
I'm having some encoding problems with Zend_Search_Lucene and an index created with Java Lucene (v1.9 and 2.0.0). I use a java app to do the indexing because that's extremely fast, but when I try to retrieve the data stored in the index on my test website using Zend_Search_Lucene, all the special chars (french chars : é, ç, è, à, ù, etc.) are broken. I tried to add some data to the index using Zend_Search_Lucene, and everything works fine. Only the fields I added to the index with my java app have their french chars broken. Does anyone have that kind of problem ? Do I have to use an other version of Java Lucene ? Any help would be greatly appreciated. Regards, Guillaume |
|
|||
|
As far as i know, Zend_Search_Lucene supports UTF-8 so you should make sure that you index your data as UTF-8 data and convert it (when neccasry) from the correct encoding.
You could look in Luke (a java program which is a admin tool to mange your index) to your index if there all characters are okay to decide it's a Zend_Lucene problem. Hope this wil help you ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|