summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-18 19:58:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-18 19:58:41 +0300
commitdb8b4d13f503fb472ae9c8c2314597ede2ed6e98 (patch)
tree21c7488f152ac2f2d167088baf492328b0aa0de2 /protocols/JabberG
parent33b3b58a18079f9dad1a0576f1fd947a39633319 (diff)
fixes #3589 (Jabber: передача файла с кириллицей в имени через прямое соединение ведёт к кракозябрам)
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_ft.cpp1
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;