pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerard Samuel <php-db@trini0.org>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: pgsql-php@postgresql.org
Subject: Re: Space requirements (with respect to foriegn languages)
Date: Sat, 28 Aug 2004 16:23:58 -0400
Message-ID: <4130E9DE.9020701@trini0.org> (raw)
In-Reply-To: <1093703976.2732.5.camel@teetnang>
References: <412E49C9.8050609@trini0.org>
	<1093703976.2732.5.camel@teetnang>

Markus Bertheau wrote:
> В Чтв, 26.08.2004, в 22:36, Gerard Samuel пишет:
>>Im currently using PostgreSQL 7.4.2, using SQL_ASCII as the database
>>characterset, FreeBSD 4.10, php 4.3.6.
> 
> 
> Change your site to use a character set that includes chinese
> characters, for example Unicode. The most common encoding of Unicode on
> the web is UTF-8. It's also the encoding PostgreSQL uses when you use
> UNICODE as the database encoding.
> 
> If you decide to switch your site to UTF-8 and want varchar(25) to mean
> 25 characters, and not 25 bytes, you have to change the database
> encoding to UNICODE accordingly.
> 

I'll try some mock scripts to see if it will pan out...
Thanks



view thread (3+ messages)

Message-ID: <4130E9DE.9020701@trini0.org>
Permalink:  ../4130E9DE.9020701@trini0.org/
Also on:    postgresql.org/message-id/4130E9DE.9020701@trini0.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: php-db@trini0.org, twanger@bluetwanger.de
  Subject: Re: Space requirements (with respect to foriegn languages)
  In-Reply-To: <4130E9DE.9020701@trini0.org>
  References: <412E49C9.8050609@trini0.org> <1093703976.2732.5.camel@teetnang> <4130E9DE.9020701@trini0.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox