Code

charset: added function locale_width()
authorMax Kellermann <max@duempel.org>
Mon, 2 Nov 2009 21:54:41 +0000 (22:54 +0100)
committerMax Kellermann <max@duempel.org>
Mon, 2 Nov 2009 21:54:41 +0000 (22:54 +0100)
commit690cdf4bf10abee65e745854f4f5039d80ee04b4
treea5edeacd60ae3efd3c709bdf52fccb15053b6772
parent127980b3508c971d10b00b232d91ea4e9261999c
charset: added function locale_width()

This function is a rather expensive wrapper: it converts the string to
UTF-8 and calls utf8_width().
src/charset.c
src/charset.h