calculate text width using wcswidth instead of strlen /* utf8 */
Authored by: briantan 2006-12-02
Parent: [r9013]
Child: [r9015]