On Wed, Oct 28, 2009 at 9:11 PM, Joerg Sonnenberger
<[email protected]> wrote:
> On Wed, Oct 28, 2009 at 01:41:01PM +0100, Peter Wehrfritz wrote:
>> Your patch assumes that an UTF8 character initiates a new word. That is
>> wrong for the most European language, if not for all. So there must be
>> another solution.
>
> The best bet you can do is likely iswblank(x) || wcwidth(x) == 0. There
> is a common rule to include zero width characters for this purpose for
> languages like Chinese or Japanese, the only alternative would be
> dictionary based.

Could you elaborate more about this?
Do you mean that the programmer needs to put a non-printable character
after each Chinese/European character?

> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



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

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

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to