X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fstrenc.c;h=ca5423cfbab59022afd6d503672b1cf81032284e;hb=f54b3d4a8b684bded674e62f7b9e7bce084109c0;hp=23169b37520a0d6a7032cf47cf249d883fd72518;hpb=c98cbbadf51fef984ee0d0721129ee575f1486cb;p=mono.git diff --git a/mono/utils/strenc.c b/mono/utils/strenc.c index 23169b37520..ca5423cfbab 100644 --- a/mono/utils/strenc.c +++ b/mono/utils/strenc.c @@ -13,8 +13,6 @@ #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, @@ -62,10 +60,6 @@ mono_unicode_from_external (const gchar *in, gsize *bytes) 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); @@ -139,10 +133,6 @@ gchar *mono_utf8_from_external (const gchar *in) 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")) {