comparison 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
comparison
equal deleted inserted replaced
3996:5f463dddee36 3997:6a4f3a32c2e6
105 105
106 static struct { 106 static struct {
107 const char *name; 107 const char *name;
108 int format; 108 int format;
109 } encodings[] = { 109 } encodings[] = {
110 { "646", ENCODING_ASCII },
110 { "ASCII", ENCODING_ASCII }, 111 { "ASCII", ENCODING_ASCII },
111 { "US-ASCII", ENCODING_ASCII }, 112 { "US-ASCII", ENCODING_ASCII },
112 { "LATIN1", ENCODING_LATIN1 }, 113 { "LATIN1", ENCODING_LATIN1 },
114 { "8859-1", ENCODING_LATIN1 },
113 { "ISO-8859-1", ENCODING_LATIN1 }, 115 { "ISO-8859-1", ENCODING_LATIN1 },
114 { "UTF8", ENCODING_UTF8 }, 116 { "UTF8", ENCODING_UTF8 },
115 { "UTF-8", ENCODING_UTF8 }, 117 { "UTF-8", ENCODING_UTF8 },
116 { "UTF16", ENCODING_UTF16 }, 118 { "UTF16", ENCODING_UTF16 },
117 { "UTF-16", ENCODING_UTF16 }, 119 { "UTF-16", ENCODING_UTF16 },