From 1b50be65056f9f625a2242b3eab128b2c1c2ad7f Mon Sep 17 00:00:00 2001 From: Szymon Tokarz Date: Sat, 22 Dec 2012 00:30:47 +0000 Subject: Gadu-Gadu protocol: Change libgadu gg encoding from GG_ENCODING_CP1250 to GG_ENCODING_UTF8 and support it. This is a long-awaited change with introducing UTF-8 support at: - messages - status descriptions (fixes issue #8) - group chats (searching and public directory not support UTF-8 beacouse of libgadu limitations, thats works as previously) Thanks to Tomasz Figa for his path from http://code.google.com/p/miranda/issues/detail?id=1195 git-svn-id: http://svn.miranda-ng.org/main/trunk@2786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/src/avatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Gadu-Gadu/src/avatar.cpp') diff --git a/protocols/Gadu-Gadu/src/avatar.cpp b/protocols/Gadu-Gadu/src/avatar.cpp index d49b888064..a8c2b6efa7 100644 --- a/protocols/Gadu-Gadu/src/avatar.cpp +++ b/protocols/Gadu-Gadu/src/avatar.cpp @@ -379,7 +379,7 @@ void __cdecl GGPROTO::setavatarthread(void *param) int file_fd, avatardatalen, datalen, contentlen, contentendlen, res = 0, repeat = 0; netlog("setavatarthread(): started. Trying to set user avatar."); - UIN2ID( db_get_dw(NULL, m_szModuleName, GG_KEY_UIN, 0), uin); + UIN2IDA( db_get_dw(NULL, m_szModuleName, GG_KEY_UIN, 0), uin); file_fd = _topen(szFilename, _O_RDONLY | _O_BINARY, _S_IREAD); if (file_fd == -1) { -- cgit v1.2.3