From owner-freebsd-questions@FreeBSD.ORG Fri Feb 8 14:51:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3581716A419 for ; Fri, 8 Feb 2008 14:51:28 +0000 (UTC) (envelope-from ericsbinaryworld@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id C699213C448 for ; Fri, 8 Feb 2008 14:51:27 +0000 (UTC) (envelope-from ericsbinaryworld@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so3476569wri.3 for ; Fri, 08 Feb 2008 06:51:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=WaSSUy4aAnSh2jzPRVi934MLZybRDp8jgogNqN8j8R8=; b=K2yUMPA5quoHflY7gOskziOeIQl0AsYsWhiRnvI/iwjfcSZ1PeiNf+xpb/pjEzgFyKz7ss0JoAZDHHe14uxdKtjJgKIqjIc2veNdA6v2BDQOlT9zOTa9LNPNr3smsL31Qyzjertmka6xvwJA8187hiC19x1ka3h2SDziSw9skg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kPlIf17hoLUrIVkldi9Csl7ywMxhlq6elciMZ80EU/Ye1r79n6NQm1JCVzWIbWZQZqLUpUU0Fgcwu63j1RtpLN5WnvHM2JfoMIF1lmXaAN2QfN6h2qebjuGXUMf8BvSvJdIEei6SnIQAW+nsfduF6i2bWXbKIJp5FKIUYipy4/U= Received: by 10.142.111.14 with SMTP id j14mr6962336wfc.96.1202480808282; Fri, 08 Feb 2008 06:26:48 -0800 (PST) Received: by 10.143.187.1 with HTTP; Fri, 8 Feb 2008 06:26:48 -0800 (PST) Message-ID: <582715960802080626m22c586a4j5c8de009294a0aae@mail.gmail.com> Date: Fri, 8 Feb 2008 09:26:48 -0500 From: "Eric Mesa" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How do I get unicode support in python? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 14:51:28 -0000 I'm running a web server with FreeBSD 6.1-RELEASE and python 2.4.3. I'm unable to print any characters outside of ascii. I have tried this code on my Linux computer, which has python 2.5.x and it works - so the code is solid. What do I need to do to get python on the web server to have unicode support? Is there a module/package I need to import in the 2.4 series? Or is there some package/port I need to install? Or do I just recompile python with some different flags? (And does that entail any uninstalling first?) Thanks, -- Eric Mesa http://www.ericsbinaryworld.com http://server.ericsbinaryworld.com