fcitx/fcitx — pull request #11 by yuyichao (2012-08-01 18:27:23+00:00)
Title: Utf8 get ascii

function useful in cloudpinyin, pinyin-enhance (and I'm planning to use it in keytheme also.. LOL)
The old version (static in these modules) looks for the first non-ascii character which means if there is a ascii character in between Chinese (or any non-ascii) characters, the result will not be a pure ascii string, (see [my commit comment here](https://github.com/yuyichao/fcitx-cloudpinyin/commit/d9c5045cfef50ce81c1467e47a39b765cc3ab5a3)) which can be the case at least for sunpinyin (and cloudpinyin freeze @ showing "..." in such case).