Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0LXe-0003FN-5j for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Oct 2017 05:51:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e0LXc-00089k-Oc for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Oct 2017 05:51:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e0LWt-0006q0-1e for pgsql-bugs@postgresql.org; Fri, 06 Oct 2017 05:50:35 +0000 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e0LWl-0004Uf-AL for pgsql-bugs@postgresql.org; Fri, 06 Oct 2017 05:50:33 +0000 Received: by mail-pg0-x22f.google.com with SMTP id b11so9434346pgn.12 for ; Thu, 05 Oct 2017 22:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=SP3+wYgAIvwMpMrD1DBU960aCKA7tmKZ7TZ8iWsFrfc=; b=FXWjD6fcvPupCKzivnQPCswU5BERRmKssks/+Zu9DVhzoMG44nVAKKiZz1E+bDE7GG oQ+bbuJxyi1n/5JHGKFcahwHYziJ54xShVWLpOQN/d3CyVu2wJdyGBV8TY2YFJact9/W c539ZwJ/7ONeePPjfK0KBFhOXbrTdVPeXy9mg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=SP3+wYgAIvwMpMrD1DBU960aCKA7tmKZ7TZ8iWsFrfc=; b=rYzQ2gR/7Vfg/jZv0SpcIV2YiXhxAFybFqFo/yjtnz4+vMf8sWYHOHJzcALY0QJ2S5 A8q5cLWFuS9bT+0pjsINMeLWNbE47TO22MXkuRPUGVbhXqpPHA+fB4zmHuDDPbnhXqr4 Fo8RvIEb6qt2PZioDuWW6JlV0WaFZNVhyaB9bnNm7qTm+ngZpl09qz+TUT5OkqwppQhG XLXeze+XfQtAIUTb9A7Bf9RUU+PmOeTnMMVw/YV563zgnewoYgjz0yfwBwGhSY7mB2Cn bUlPFDCfqcs5JnzEKhYi+w4Zugu2vE7/bkDYwNdENX5shkdIO46lsoyi+wAwjNAGCtbs LIag== X-Gm-Message-State: AMCzsaXwpYzFz32iKbAe6D3ExA0qelCYSyh33Bwcj7+v/XgTSk00y7F4 7tZ8LKQhV7gg7nT0MFCh3oM6jQ== X-Google-Smtp-Source: AOwi7QCA11IW9hJRnGzbT41As8QiJXGuFhNdw9pqeJ22YfJuavHPMfvMCVZiq/i1k8nLEJm56Sh/Mg== X-Received: by 10.84.246.204 with SMTP id j12mr986300plt.240.1507269025562; Thu, 05 Oct 2017 22:50:25 -0700 (PDT) Received: from rfd.leadboat.com (c-73-158-248-138.hsd1.ca.comcast.net. [73.158.248.138]) by smtp.gmail.com with ESMTPSA id h90sm1273330pfj.32.2017.10.05.22.50.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2017 22:50:24 -0700 (PDT) Date: Thu, 5 Oct 2017 22:50:20 -0700 From: Noah Misch To: vinod.t.v@outlook.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14794: Installation failure if user specify French password Message-ID: <20171006055020.GA427951@rfd.leadboat.com> References: <20170901101537.31802.25739@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170901101537.31802.25739@wrigleys.postgresql.org> User-Agent: Mutt/1.5.24 (2015-08-30) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, Sep 01, 2017 at 10:15:37AM +0000, vinod.t.v@outlook.com wrote: > I have specified > Télécharger as the password during postgres installation in french OS. > installation failed. > ex‚cution de l'initialisation aprŠs bootstrap...FATAL: sǸquence d'octets > invalide pour l'encodage ¶® UTF8 ¶¯ : 0xe0 0x74 0x27 This is a character encoding mismatch. Within an established database session, PostgreSQL has robust encoding conversion. During initdb and connection establishment, encoding treatment is much more primitive. This has been on https://wiki.postgresql.org/wiki/Todo for years, and fixing it is low priority. I recommend using only ASCII in user names, passwords, and database names. If you still want this, set an ASCII password during installation, and then change it with ALTER USER. This will work well only if all your client software sends the password in the same encoding as the database where you issue ALTER USER (probably UTF8). -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs