X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 79FA1537C7 for ; Mon, 18 Apr 2005 09:40:40 -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 73713-07 for ; Mon, 18 Apr 2005 12:40:38 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9FF45536EA for ; Mon, 18 Apr 2005 09:40:35 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id C30B830952; Mon, 18 Apr 2005 14:39:38 +0200 (MET DST) From: ljb X-Newsgroups: pgsql.interfaces Subject: Released pgin.tcl-3.0.0 beta: pure-Tcl interface with encoding Date: Sun, 17 Apr 2005 21:06:22 +0000 (UTC) Organization: Hub.Org Networking Services Lines: 25 Message-ID: X-Complaints-To: usenet@news.hub.org User-Agent: slrn/0.9.8.1 (Linux) To: pgsql-interfaces@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.524 tagged_above=0 required=5 tests=AWL, FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200504/60 X-Sequence-Number: 5476 pgin.tcl-3.0.0 has been released to Gborg and can be found at: http://gborg.postgresql.org/project/pgintcl/ This is a beta release which adds character set encoding/decoding to fix misbehavior of pgin.tcl when used with non-ASCII character sets. Like Pgtcl, pgtcl-ng, and libpgtcl, pgin.tcl now sets PostgreSQL client_encoding to Unicode, and sends/receives UTF-8 encoded text strings to/from PostgreSQL. Pgin.tcl also recodes COPY data, which the libpq-based Tcl interfaces do not correctly handle at this time. (Thanks to pfm developer Willem Herremans, who first convinced me that encoding was broken in pgin.tcl, then provided the understanding of how Tcl and PostgreSQL handle character set conversions and how to get them to play nicely together.) Please see the release README file for cautions against using non-ASCII characters in an SQL_ASCII-encoded database. pgin.tcl is a Tcl interface to PostgreSQL which is written entirely in Tcl, and is mostly but not entirely command-compatible with other versions of the PostgreSQL Tcl interface, especially pgtcl-ng. It does not require the libpq library, but communicates directly with the PostgreSQL backend using Tcl input/output capabilities. The goal is to support platform-independent PostgreSQL applications and utilities written in Tcl/Tk, which run 'out of the box' anywhere Tcl is available.