I\'m using a python library called Guess Language: http://pypi.python.org/pypi/guess-language/0.1
\"justwords\" is a string with unicode text. I stick it in the package,
Google says your example is in chinese. They have a (much more advanced) webservice to translate text and guess the language.
They have an API and code examples for Python.