13bool MyShowCursor(
bool show,
bool toggle =
false);
15char *
convert_from_fs(
const std::wstring_view src, std::span<char> dst_buf);
16wchar_t *
convert_to_fs(
const std::string_view src, std::span<wchar_t> dst_buf);
18void Win32SetCurrentLocaleName(
const char *iso_code);
19int OTTDStringCompare(std::string_view s1, std::string_view s2);
20int Win32StringContains(
const std::string_view str,
const std::string_view value,
bool case_insensitive);
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.
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.