Code

Removed debugging messages
authorjoncruz <joncruz@users.sourceforge.net>
Thu, 1 Jun 2006 08:52:19 +0000 (08:52 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Thu, 1 Jun 2006 08:52:19 +0000 (08:52 +0000)
src/xml/repr-io.cpp

index fc817ed13bb7cc24d35e9907cae23b887ffe75ad..10f6101b656df3c10039b7c6707291921824a8a7 100644 (file)
@@ -125,15 +125,12 @@ int XmlSource::setFile(char const *filename)
 
             int encSkip = 0;
             if ( (some >= 2) &&(firstFew[0] == 0xfe) && (firstFew[1] == 0xff) ) {
-                g_warning("File is UTF-16BE");
                 encoding = g_strdup("UTF-16BE");
                 encSkip = 2;
             } else if ( (some >= 2) && (firstFew[0] == 0xff) && (firstFew[1] == 0xfe) ) {
-                g_warning("File is UTF-16LE");
                 encoding = g_strdup("UTF-16LE");
                 encSkip = 2;
             } else if ( (some >= 3) && (firstFew[0] == 0xef) && (firstFew[1] == 0xbb) && (firstFew[2] == 0xbf) ) {
-                g_warning("File is UTF-8");
                 encoding = g_strdup("UTF-8");
                 encSkip = 3;
             }