summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-06-01 08:52:19 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-06-01 08:52:19 +0000
commitc05a0ad39be3519a0128ebe2c659faa329281d67 (patch)
tree442b861e26e48e8f333c8ee0fcab52230e9240e4 /src/xml/repr-io.cpp
parentrevert interface change (diff)
downloadinkscape-c05a0ad39be3519a0128ebe2c659faa329281d67.tar.gz
inkscape-c05a0ad39be3519a0128ebe2c659faa329281d67.zip
Removed debugging messages
(bzr r1119)
Diffstat (limited to 'src/xml/repr-io.cpp')
-rw-r--r--src/xml/repr-io.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp
index fc817ed13..10f6101b6 100644
--- a/src/xml/repr-io.cpp
+++ b/src/xml/repr-io.cpp
@@ -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;
}