mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-11 21:55:27 +00:00
SLUDGE: Make UTF-8 code portable
This commit is contained in:
parent
469d1777c4
commit
8fde046360
@ -31,7 +31,7 @@
|
||||
|
||||
namespace Sludge {
|
||||
|
||||
const char UTF8_CHECKER[] = {'U', 'N', -17, -65, -67, 'L', 'O', -17, -65, -67, 'C', 'K', 'E', 'D', '\0'};
|
||||
const char UTF8_CHECKER[] = {'U', 'N', '\xef', '\xbf', '\xbd', 'L', 'O', '\xef', '\xbf', '\xbd', 'C', 'K', 'E', 'D', '\0'};
|
||||
uint16 saveEncoding = false;
|
||||
char encode1 = 0;
|
||||
char encode2 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user