Mercurial > pidgin.yaz
changeset 16834:f0b4efc4a83a
If we're sent text/plain by an AIM client and it specifies a charset, we can now use that charset via oscar_encoding_extract() instead of ignoring it and therefore assuming UTF-8
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 03 May 2007 17:56:31 +0000 |
parents | 52c776782b95 |
children | b103a4c28fb0 9f9c486a8aca |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Thu May 03 17:50:36 2007 +0000 +++ b/libpurple/protocols/oscar/oscar.c Thu May 03 17:56:31 2007 +0000 @@ -280,7 +280,8 @@ /* Make sure encoding begins with charset= */ if (strncmp(encoding, "text/aolrtf; charset=", 21) && - strncmp(encoding, "text/x-aolrtf; charset=", 23)) + strncmp(encoding, "text/x-aolrtf; charset=", 23) && + strncmp(encoding, "text/plain; charset=", 20)) { return NULL; }