diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-18 19:58:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-18 19:58:41 +0300 |
commit | db8b4d13f503fb472ae9c8c2314597ede2ed6e98 (patch) | |
tree | 21c7488f152ac2f2d167088baf492328b0aa0de2 /protocols/JabberG | |
parent | 33b3b58a18079f9dad1a0576f1fd947a39633319 (diff) |
fixes #3589 (Jabber: передача файла с кириллицей в имени через прямое соединение ведёт к кракозябрам)
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_ft.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_ft.cpp b/protocols/JabberG/src/jabber_ft.cpp index 6dff008530..9cba5a85ad 100644 --- a/protocols/JabberG/src/jabber_ft.cpp +++ b/protocols/JabberG/src/jabber_ft.cpp @@ -457,6 +457,7 @@ void CJabberProto::FtHandleSiRequest(const TiXmlElement *iqNode) ft->std.totalBytes = ft->std.currentFileSize = filesize;
PROTORECVFILE pre = {};
+ pre.dwFlags = PRFF_UTF;
pre.fileCount = 1;
pre.timestamp = time(0);
pre.files.a = &filename;
|