| 278 | |
| 279 | #if defined(_WIN32) && defined(UNICODE) |
| 280 | const std::wstring filenameToUTF(const std::string & filename) |
| 281 | { |
| 282 | // Can not return by reference since it could return std::wstring() or std::string(). |
| 283 | return Utf8ToUtf16(filename); |
| 284 | } |
| 285 | #else |
| 286 | const std::string filenameToUTF(const std::string & filename) |
| 287 | { |