diff options
author | Szymon Tokarz <wsx22@o2.pl> | 2012-12-22 00:30:47 +0000 |
---|---|---|
committer | Szymon Tokarz <wsx22@o2.pl> | 2012-12-22 00:30:47 +0000 |
commit | 1b50be65056f9f625a2242b3eab128b2c1c2ad7f (patch) | |
tree | 6fd7a6af17c7f78b312e669b24bd10bf85061873 /protocols/Gadu-Gadu/src/avatar.cpp | |
parent | 5d674840ea8cafd9975bd5f1ce7aa13a504891c5 (diff) |
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
Diffstat (limited to 'protocols/Gadu-Gadu/src/avatar.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) {
|