mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
15 lines
402 B
C++
15 lines
402 B
C++
#ifndef _RWCORE_PLATFORM_RWWINDOWS_HPP_
|
|
#define _RWCORE_PLATFORM_RWWINDOWS_HPP_
|
|
|
|
#include <string>
|
|
|
|
/**
|
|
* @brief Convert a wide string to a ACP string (=active code page)
|
|
* This function converts to the active code page instead of utf8
|
|
* because Windows functions need to understand the encoding.
|
|
* @param str The wide string to convert
|
|
*/
|
|
std::string wideStringToACP(const wchar_t* str);
|
|
|
|
#endif
|