#include "strenc.h"
-#undef DEBUG
-
static const char trailingBytesForUTF8[256] = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
encodings=g_strsplit (encoding_list, ":", 0);
for(i=0;encodings[i]!=NULL; i++) {
-#ifdef DEBUG
- g_message (G_GNUC_PRETTY_FUNCTION ": Trying encoding [%s]",
- encodings[i]);
-#endif
/* "default_locale" is a special case encoding */
if(!strcmp (encodings[i], "default_locale")) {
gchar *utf8=g_locale_to_utf8 (in, -1, NULL, NULL, NULL);
encodings=g_strsplit (encoding_list, ":", 0);
for(i=0;encodings[i]!=NULL; i++) {
-#ifdef DEBUG
- g_message (G_GNUC_PRETTY_FUNCTION ": Trying encoding [%s]",
- encodings[i]);
-#endif
/* "default_locale" is a special case encoding */
if(!strcmp (encodings[i], "default_locale")) {