Salut,

J'exécute plusieurs scripts via des fichiers .bat du style

psql.exe -h localhost -U user<script.sql

Mon fichier sql contient les instructions suivantes
SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SEt check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;

CREATE DATABASE "maBase" ENCODING = 'UTF8';

COMMENT ON DATABASE 'maBase" IS "Base test pour création"
Et l'erreur suivante se produit:
ERROR : Invalid byte sequence for encoding "UTF8" : 0xe96174
ASTUCE : This error ca also happen if teh byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding"
Mon accent
é
n'est pas supporté alors que j'ai spécifié le client_encoding = UTF8 et le ENCODING = UTF8 pour la base que je créé.

Je ne comprends pas...