X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 68A7D52A4E for ; Sun, 15 May 2005 12:33:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21322-08 for ; Sun, 15 May 2005 15:33:39 +0000 (GMT) Received: from web31015.mail.mud.yahoo.com (web31015.mail.mud.yahoo.com [68.142.201.73]) by svr1.postgresql.org (Postfix) with SMTP id 5E97B53651 for ; Sun, 15 May 2005 12:33:38 -0300 (ADT) Received: (qmail 11726 invoked by uid 60001); 15 May 2005 15:33:37 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=W2J3OpS5As9qfx0EZ+wH14cYT5GBjSPz5Jl9Eg/PFUloP97AizEZrpIbrF/KDGuq/Ss5aYKYhaMiaPqZl954hP/ZzOeyg9+hAm6dUgzTiF0BUXjiNWjxodvEQ5JI4jJekl0FKlZYa0eYTm6IPR/1RqwcM2Ells6NzRdWt2cDtGA= ; Message-ID: <20050515153337.11724.qmail@web31015.mail.mud.yahoo.com> Received: from [210.211.162.193] by web31015.mail.mud.yahoo.com via HTTP; Sun, 15 May 2005 08:33:37 PDT Date: Sun, 15 May 2005 08:33:37 -0700 (PDT) From: Rajesh Mallah Subject: Significance of Database Encoding To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=4.95 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, FORGED_YAHOO_RCVD, RCVD_IN_NJABL_PROXY X-Spam-Level: **** X-Archive-Number: 200505/103 X-Sequence-Number: 21416 Hi , I would want to know what is the difference between databases that are created using UNICODE encoding and SQL_ASCII encoding. I have an existing database that has SQL_ASCII encoding but still i am able to store multibyte characters that are not in ASCII character set. for example: tradein_clients=# \l List of databases +-----------------+----------+-----------+ | Name | Owner | Encoding | +-----------------+----------+-----------+ | template0 | postgres | SQL_ASCII | | template1 | postgres | SQL_ASCII | | tradein_clients | tradein | SQL_ASCII | +-----------------+----------+-----------+ tradein_clients=# SELECT * from t_A; +--------------------------------------------------------------------------------------+ | a | +--------------------------------------------------------------------------------------+ | 私はガラス | +--------------------------------------------------------------------------------------+ Above is some japanese character. I have seen some posting regarding migrating databases from SQL_ASCII to UNICODE, given the above observation what significance does a migration have. Regards Rajesh Kumar Mallah. __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail