--- a/libpurple/protocols/oscar/encoding.c Sat Jul 31 20:02:10 2010 +0000 +++ b/libpurple/protocols/oscar/encoding.c Sat Jul 31 20:08:52 2010 +0000 @@ -204,12 +204,13 @@ static guint16 get_simplest_charset(const char *utf8) { - while (*utf8++) + while (*utf8) { if ((unsigned char)(*utf8) > 0x7f) { /* not ASCII! */ return AIM_CHARSET_UNICODE; } + utf8++; } return AIM_CHARSET_ASCII; }