diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-04 21:43:02 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-04 21:43:02 +0900 |
| commit | 3879da592d689d551778b710c21c8a95d2874ab3 (patch) | |
| tree | 121df06eeb860738ff2c5b6abd3c89fb8b09db7b /src/BtPostDownloadHandler.cc | |
| parent | 45686860e1b5e94bfa8fa95603f101cce53ed4b1 (diff) | |
In MinGW32, open file with UNICODE filename and print them in ANSI.
Diffstat (limited to 'src/BtPostDownloadHandler.cc')
| -rw-r--r-- | src/BtPostDownloadHandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtPostDownloadHandler.cc b/src/BtPostDownloadHandler.cc index 00ecea28..2cca80e6 100644 --- a/src/BtPostDownloadHandler.cc +++ b/src/BtPostDownloadHandler.cc @@ -69,7 +69,7 @@ void BtPostDownloadHandler::getNextRequestGroups RequestGroup* requestGroup) { A2_LOG_INFO(fmt("Generating RequestGroups for Torrent file %s", - requestGroup->getFirstFilePath().c_str())); + utf8ToNative(requestGroup->getFirstFilePath()).c_str())); std::string content; try { requestGroup->getPieceStorage()->getDiskAdaptor()->openExistingFile(); |
