mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-08 17:46:40 -05:00
This commit is contained in:
1 parent
64de5bc78a
commit
6b1da98d91
1 file changed
+3
-1
@@ -41,7 +41,9 @@ namespace VeraCrypt
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
FInputStream.reset (new wxFFileInputStream (stdin));
|
FInputStream.reset (new wxFFileInputStream (stdin));
|
||||||
TextInputStream.reset (new wxTextInputStream (*FInputStream));
|
// Set fallback encoding of the stream converter to UTF-8
|
||||||
|
// to make sure we interpret multibyte symbols properly
|
||||||
|
TextInputStream.reset (new wxTextInputStream (*FInputStream, wxT(" \t"), wxConvAuto(wxFONTENCODING_UTF8)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user