]> granicus.if.org Git - postgis/commitdiff
Change log entry to reflect actual iconv target encoding (UTF-8, not UTF8)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 1 Jan 2010 20:28:37 +0000 (20:28 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 1 Jan 2010 20:28:37 +0000 (20:28 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5087 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-core.c

index 648f36ee9a455c329480ea09c856c82f57b5289e..6754aeb41c44eb7aa4fa1dc7c9b34977364a346d 100644 (file)
@@ -1155,7 +1155,7 @@ ShpLoaderOpenShape(SHPLOADERSTATE *state)
                        utf8str = utf8(state->config->encoding, name);
                        if (!utf8str)
                        {
-                               snprintf(state->message, SHPLOADERMSGLEN, "Unable to convert field name \"%s\" to UTF8: iconv reports \"%s\"", name, strerror(errno));
+                               snprintf(state->message, SHPLOADERMSGLEN, "Unable to convert field name \"%s\" to UTF-8: iconv reports \"%s\"", name, strerror(errno));
                                return SHPLOADERERR;
                        }
 
@@ -1588,7 +1588,7 @@ ShpLoaderGenerateSQLRowStatement(SHPLOADERSTATE *state, int item, char **strreco
                                utf8str = utf8(state->config->encoding, val);
                                if (!utf8str)
                                {
-                                       snprintf(state->message, SHPLOADERMSGLEN, "Unable to convert field value \"%s\" to UTF8: iconv reports \"%s\"", val, strerror(errno));
+                                       snprintf(state->message, SHPLOADERMSGLEN, "Unable to convert field value \"%s\" to UTF-8: iconv reports \"%s\"", val, strerror(errno));
                                        return SHPLOADERERR;
                                }