From: Paul Ramsey Date: Fri, 1 Jan 2010 20:28:37 +0000 (+0000) Subject: Change log entry to reflect actual iconv target encoding (UTF-8, not UTF8) X-Git-Tag: 1.5.0b1~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed4d989e64644cc942bdbf667f12c2e477085f4c;p=postgis Change log entry to reflect actual iconv target encoding (UTF-8, not UTF8) git-svn-id: http://svn.osgeo.org/postgis/trunk@5087 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-core.c b/loader/shp2pgsql-core.c index 648f36ee9..6754aeb41 100644 --- a/loader/shp2pgsql-core.c +++ b/loader/shp2pgsql-core.c @@ -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; }