-------------------------------------------------------------------------
| 111 | |
| 112 | //------------------------------------------------------------------------- |
| 113 | std::wstring Utf8ToWString(const std::string& str) |
| 114 | { |
| 115 | return ToWString(CP_UTF8, str); |
| 116 | } |
| 117 | |
| 118 | //------------------------------------------------------------------------- |
| 119 | boost::optional<std::wstring> Try(std::function<void()> action) |