On Sat, Aug 7, 2010 at 9:32 PM, Tom Hacohen <t...@stosb.com> wrote:
> On Sat, Aug 7, 2010 at 11:04 AM, Brian Wang <brian.wang.0...@gmail.com>
> wrote:
>>
>> I can confirm this commit breaks evas text handling for Chinese
>> characters.
>> Please find the attached file for reproducing the problem.
>>
>> I reverted evas to r50594 and elm_entry_cursor_content_get() works
>> properly.
>> Then I tried r50595 evas, which is this svn commit, it fails.  Chinese
>> characters are returned with garbage bytes appended.
>> Any ideas what went wrong?  I am happy to help test more.
>>
>
> I found a bit of spare time, tried it here, and it looks like it works
> (latest rev,not the one you mentioned,
> and it makes sense, since there were fixes added especially if you used
> word/metric caches).
> I can only verify it works to some extent, I see white squares (chinese
> fonts did not get detected
> here for some reason, not sure if I even have them) which is what expected,
> no garbage added.

Hello Tom,

Thanks for looking into this problem.

Is r50887 fresh enough?  r50887 is what I first tried and failed.
I reverted evas to r50594 and r50595 (while all other EFL libraries
stay at r50887) to confirm it's the r50595 commit the causes this
problem.
METRIC_CACHE and WORD_CACHE are not enabled in all cases (they're
disabled by default, I believe).

I am not sure if you performed the same test I did.  If you use the
source code attached previously, you have to click on elm_entry and
check the stdout output (preferably with gdb to show the returned
strings in bytes).

>
> I suggest you try later revs just to make sure it's not something fixed in a
> later commit.

See above.

> --
> Tom.
>



-- 
brian
------------------

Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to