The Mobile Galaxy The New Mobile Era Has Come | Mobile – A Time To Remember

26Jun/130

Python check asian language

IDEOGRAPHIC_SPACE = 0×3000

def is_asian(char):
    """
    Is the character Asian?

    >>> is_asian(u'a')
    False
    >>> is_asian(u'日')
    True
    """

    return ord(char) > IDEOGRAPHIC_SPACE
Share
Filed under: iPhone No Comments
26Jun/130

How to Fix Eclipse freezes on startup on the Mac

Eclipse Juno with SVN plugins on the Mac freezes on start up

Bug:

"Deadlock when JNA is loading" problem on Mac OS X [using SVN Kit connector]

Fixing:

This is some AWT related issue on the Mac. Starting Eclipse with -Djava.awt.headless=true solves this deadlock.

 

Share
Tagged as: , No Comments