Mercurial > ~mikael > mcabber > hg
view mcabber/src/help.h @ 980:023891f99732
Fixes truncating utf-8 buddy names (Myhailo Danylenko)
This patch fixes the problem with utf-8 buddy names,
which include multibyte characters. Without patch names
will be decreased by as many extra bytes as we have in name.
Note by Mikael: When a non-UTF-8 locale is used, the conversion from
UTF-8 could fail, which gave a "(null)" buddy name.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 21 Oct 2006 15:00:41 +0200 |
parents | cefdaeb42e67 |
children | 2de8f8ba1f34 |
line wrap: on
line source
#ifndef __HELP_H__ #define __HELP_H__ 1 int help_process(char *string); #endif /* __HELP_H__ */