You are here: Re: [OT-ish] Advise Please: multiple Charactersets and DB-storage « PHP Programming Language « IT news, forums, messages
Re: [OT-ish] Advise Please: multiple Charactersets and DB-storage

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация