]> granicus.if.org Git - postgis/commitdiff
revert wrong regress encoding stuff from r11205
authorOlivier Courtin <olivier.courtin@camptocamp.com>
Mon, 25 Mar 2013 18:45:46 +0000 (18:45 +0000)
committerOlivier Courtin <olivier.courtin@camptocamp.com>
Mon, 25 Mar 2013 18:45:46 +0000 (18:45 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11206 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test
regress/run_test.pl

index 69f55ea59b9bcf059979941e2f25f3408d54efc8..50b629b56353a00a3873abff81cada7d322385d2 100755 (executable)
@@ -668,7 +668,7 @@ create_spatial ()
 {
        echo "Creating spatial db ${DB} " 
 
-       createdb --template=template0 --lc-collate="C" "${DB}" > ${PGIS_REG_TMPDIR}/regress_log 2>&1 
+       createdb --encoding=UTF-8 --template=template0 --lc-collate="C" "${DB}" > ${PGIS_REG_TMPDIR}/regress_log 2>&1 
        if [ $? -gt 0 ]; then # {
                fail "createdb failed" "${PGIS_REG_TMPDIR}/regress_log"
                exit 1
index 9e051f9388bb8e6ffef495e3d31a220f2a7cab4e..30dc4f887b1ef6b25ab6b75105d89d0a5e021774 100755 (executable)
@@ -959,7 +959,7 @@ sub create_spatial
        my ($cmd, $rv);
        print "Creating database '$DB' \n";
 
-       $cmd = "createdb --template=template0 --lc-collate=C $DB > $REGRESS_LOG";
+       $cmd = "createdb --encoding=UTF-8 --template=template0 --lc-collate=C $DB > $REGRESS_LOG";
        $rv = system($cmd);
        $cmd = "createlang plpgsql $DB >> $REGRESS_LOG 2>&1";
        $rv = system($cmd);