Changed getName to use locale-aware functions
Changed getName to use locale-aware functions

Rewrote getName using getTextProperty and wcTextPropertyToTextList.

darcs-hash:20070819132104-7344d-78695db057adecf12b37a3caae6ef1b624aae4f2

yzhou61/xmonad-contrib,yzhou61/xmonad-contrib,yzhou61/xmonad-contrib