Solaris doesn't support the LATIN1 character set alias.

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2007-07-04 04:27:47 +00:00
parent 18be9d8dc9
commit b9b6dfe97a
3 changed files with 11 additions and 5 deletions

View File

@@ -107,9 +107,11 @@ static struct {
const char *name;
int format;
} encodings[] = {
{ "646", ENCODING_ASCII },
{ "ASCII", ENCODING_ASCII },
{ "US-ASCII", ENCODING_ASCII },
{ "LATIN1", ENCODING_LATIN1 },
{ "8859-1", ENCODING_LATIN1 },
{ "ISO-8859-1", ENCODING_LATIN1 },
{ "UTF8", ENCODING_UTF8 },
{ "UTF-8", ENCODING_UTF8 },