Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YTVmI-0003ce-Hm for pgsql-general@arkaria.postgresql.org; Thu, 05 Mar 2015 13:25:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YTVmG-0000Sb-MK for pgsql-general@arkaria.postgresql.org; Thu, 05 Mar 2015 13:25:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YTVmF-0000S6-6m for pgsql-general@postgresql.org; Thu, 05 Mar 2015 13:25:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YTVm6-0006N3-GU for pgsql-general@postgresql.org; Thu, 05 Mar 2015 13:25:22 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id CF24520779 for ; Thu, 5 Mar 2015 08:25:09 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 05 Mar 2015 08:25:11 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= x-sasl-enc:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=IFj9JuwqVCOP72YkrkIjRevxb/g=; b=hBweTT1oXKXFeVI02c ZtznS61Fqy5yPb8Kp11/0epV1JR7B7nYFsmcN1bSke9Eg068NpTMmTzlwApieOmf ogCygWfsNHGm2gtY3cgdtj7MMaP25Z98gfCATrAPQGOyM6t/fFhDm5+Tqh+ZElCw byYmHaCKwrfyvGHTzC2UYxqaQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=IFj9JuwqVCOP72YkrkIjRe vxb/g=; b=OCbulQxreK0r9UTkvWGQVbA/SAq4YZbJJqE25HXyBa/KYdcFhSJYZz 5mZYa2DFMPu0RXpH3eLmOKN3EpxMO4rT07WeC71r5wEkVOIeMUXjCFXb/qhTG+mp 6WqZqUKMFA2rQN3rUeW9B7FS9yzhdLJv1KDpGK0kBebLacTifEWis= X-Sasl-enc: KJ4sIH59u8hvE03NHoCOF+PBqyfW/67RD35bO3SM4mJ9 1425561910 Received: from [192.168.1.4] (unknown [174.21.191.40]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C014C00297; Thu, 5 Mar 2015 08:25:10 -0500 (EST) Message-ID: <54F85935.6010801@aklaver.com> Date: Thu, 05 Mar 2015 05:25:09 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: lsliang , pgsql-general Subject: Re: can postgresql supported utf8mb4 character sets ? References: <201503051745459170125@pconline.com.cn> In-Reply-To: <201503051745459170125@pconline.com.cn> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 03/05/2015 01:45 AM, lsliang wrote: > can postgresql supported utf8mb4 character set? > today mobile apps support 4-byte character and utf8 can only > support 1-3 bytes character The docs would seem to indicate otherwise: http://www.postgresql.org/docs/9.3/interactive/multibyte.html http://en.wikipedia.org/wiki/UTF-8 > if load string to database which contain a 4-byte character > will failed . Have you actually tried to load strings in to Postgres? If so and it failed what was the method you used and what was the error? > mysql since 5.5.3 support utf8mb4 character sets > I don't find some information about postgresql > thanks -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general