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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-php by date

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