Skip site navigation (1) Skip section navigation (2)

Re: Space requirements (with respect to foriegn languages)

From: Gerard Samuel <php-db(at)trini0(dot)org>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Space requirements (with respect to foriegn languages)
Date: 2004-08-28 20:23:58
Message-ID: 4130E9DE.9020701@trini0.org (view raw or flat)
Thread:
Lists: pgsql-php
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

In response to

pgsql-php by date

Next:From: Mark GibsonDate: 2004-10-01 11:59:08
Subject: plPHP download?
Previous:From: Oleg LetsinskyDate: 2004-08-28 16:52:58
Subject: Re: 8.0 beta1 and XP SP2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group