Dear Veit,
I want to thank you for your response.
I want to tell you that now every thing works fine. The highlighter returns
the correct string now, I should index the text after encoding it in UTF-8.

On Sat, Nov 20, 2010 at 12:29 AM, Veit Jahns <nuncupa...@googlemail.com>wrote:

> 2010/11/17 muhammad ismael <m.ismae...@gmail.com>:
> > Dear Veit,
> > I want to thank you for the patch you sent me.
> > I patched my Highlighter with your patch and it is compiled successfully.
>
> Thanks! Then I will commit the patch the CLucene repository.
>
> > but i have another question:
> > I am using clucene to index and search Arabic text until now every thing
> > woks fine,
> > but when i used the highlighter to return the text fragment, it returns
> the
> > text in wchar_t it is supposed to be Unicode but when i display it
> appears
> > with strange characters not Arabic?
> > can you help me to solve  this problem?
>
> I will try. Encoding is sometimes very confusing to me, also. On which
> plattform do you work? Because wchar_t has different sizes on
> different plattforms as one of my colleagues explained it to me. 2
> byte on Windows and 4 byte on Linux plattforms. Maybe this is the
> reason.
>
> Also, can you provide a small test case? Done I can play also a little
> bit with these highlighter. Some months ago, I made also some
> experiments with Arabic characters, but as I am not familiar with the
> Arabic language it was just moving symbols around, not knowing if the
> characters form a useful word.
>
> Regards,
> Veit
>
> PS
> Do you mind, if we continue the discussion on the mailing list? The
> discussion may be useful for others too or someone other knowing more
> about this encoding issues can provide further input.
>



-- 
Sincerely
--------------------
Mohammad Ismael
Software Developer
Mobile:+20114753575
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to