|
Posted by Bent Stigsen on 05/30/06 23:37
Erwin Moller wrote:
> Hi Group,
>
> I am starting a website for different european languages.
> The site will have texts in all kind of languages.
>
> My DB will be Postgres, the scriptinglanguage PHP (Doh).
>
> I understand that giving different META-tags above the document will result
> in correct display of the characters (eg Greek).
>
> My problem is that I also have to store the characters in my DB, Postgresql.
> Postgresql has a default characterset per DB.
Try with unicode/utf-8.
I just tried insert some "strange" text in a table and fetch the
records using php. Seems to work fine, straight from database through
php to the browser. Greek, Russian, Scandinavian, something else and
something else I don't know what is, all in one page.
(thevoid.dk/sandbox/pgutf8/)
/Bent
[Back to original message]
|