locale changes, piscreen

This commit is contained in:
2022-04-27 12:41:38 +03:00
parent 2f4e73ef13
commit c1c47b4869
6 changed files with 46 additions and 36 deletions

View File

@@ -85,6 +85,7 @@ ushort charFromCodepage(const char * c, int size, const char * codepage, int * t
wchar_t wc;
ret = mbrtowc(&wc, c, size, &state);
//printf("mbtowc = %d\n", ret);
//piCout << errorString();
if (ret < 1) return 0;
return ushort(wc);
# endif