[PATCH] improve locale handling in m4/wcwidth.m4

2009-07-13 Thread kc . REMOVE . SPAM
Hello, the attached patch solves two problems with the current version of m4/wcwidth.m4 (serial 14). However, those two problems are so closely related that I chose to attack them in one patch. The current version of gl_FUNC_WCWIDTH in m4/wcwidth.m4 tries to switch to an UTF-8 locale by s

Re: [PATCH] improve locale handling in m4/wcwidth.m4

2009-07-13 Thread Bruno Haible
Hello, > the attached patch solves two problems with the current version of > m4/wcwidth.m4 (serial 14). However, those two problems are so closely > related that I chose to attack them in one patch. On which platform did you encounter a wcwidth that does not work? In doc/posix-functions/wcwi