wchar_t * convert_to_fs(const char *name, wchar_t *utf16_buf, size_t buflen, bool console_cp=false)
Convert from OpenTTD's encoding to that of the environment in UNICODE.
char * convert_from_fs(const wchar_t *name, char *utf8_buf, size_t buflen)
Convert to OpenTTD's encoding from that of the environment in UNICODE.