diff src/stdlib/SDL_iconv.c @ 3997:6a4f3a32c2e6 SDL-1.2

Fixed bug #349 Solaris doesn't support the LATIN1 character set alias.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 04 Jul 2007 04:27:47 +0000
parents 00486a9c2893
children 098ac044cd2f
line wrap: on
line diff
--- a/src/stdlib/SDL_iconv.c	Tue Jul 03 09:53:26 2007 +0000
+++ b/src/stdlib/SDL_iconv.c	Wed Jul 04 04:27:47 2007 +0000
@@ -107,9 +107,11 @@
 	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 },