13 bool MyShowCursor(
bool show,
bool toggle =
false);
15 char *
convert_from_fs(
const std::wstring_view src, std::span<char> dst_buf);
16 wchar_t *
convert_to_fs(
const std::string_view src, std::span<wchar_t> dst_buf);
18 void Win32SetCurrentLocaleName(
const char *iso_code);
19 int OTTDStringCompare(std::string_view s1, std::string_view s2);
20 int Win32StringContains(
const std::string_view str,
const std::string_view value,
bool case_insensitive);
int Win32StringContains(const std::string_view str, const std::string_view value, bool case_insensitive)
Search if a string is contained in another string using the current locale.
wchar_t * convert_to_fs(const std::string_view src, std::span< wchar_t > dst_buf)
Convert from OpenTTD's encoding to that of the environment in UNICODE.
char * convert_from_fs(const std::wstring_view src, std::span< char > dst_buf)
Convert to OpenTTD's encoding from that of the environment in UNICODE.