1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

- support for Chinese fonts (GBK 2-byte encoding)

- fixes #1446
This commit is contained in:
Ivan Savenko
2013-09-08 16:49:23 +00:00
parent 42879225f0
commit e13dc872e0
7 changed files with 195 additions and 55 deletions

View File

@ -191,7 +191,7 @@ bool ZipArchive::extract(std::string from, std::string where, std::vector<std::s
if (boost::algorithm::ends_with(file, "/"))
continue;
std::ofstream destFile(fullName);
std::ofstream destFile(fullName, std::ofstream::binary);
if (!destFile.good())
return false;