Storage of Indian Language text in postgresql through PHP
Storage of Indian Language text in postgresql through PHP
От:
INDER <inderjeetsinghit@gmail.com>
Дата:
Hello Everyone. I am new to this group and as well as to the Postgres also. Can anybody tell me that how to insert hindi text into postgres that a user has entered from html input with the use of PHP. Please I am waiting for the reply.
Re: Storage of Indian Language text in postgresql through PHP
От:
Amitabh Kant <amitabhkant@gmail.com>
Дата:
On Tue, Jun 14, 2011 at 12:47 PM, INDER <inderjeetsinghit@gmail.com> wrote:
Hello Everyone. I am new to this group and as well as to the Postgres
also. Can anybody tell me that how to insert hindi text into postgres
that a user has entered from html input with the use of PHP. Please I
am waiting for the reply.
Not sure what you would have to do from PHP side, but make sure that when you are creating the database, the encoding is set to UTF8 for db to support Hindi.
Amitabh
Re: Storage of Indian Language text in postgresql through PHP
От:
Jasen Betts <jasen@xnet.co.nz>
Дата:
On 2011-06-14, INDER wrote:
> Hello Everyone. I am new to this group and as well as to the Postgres
> also. Can anybody tell me that how to insert hindi text into postgres
> that a user has entered from html input with the use of PHP. Please I
> am waiting for the reply.
add this PHP before any content is emitted:
header('Content-type: text/html; charset=utf-8');
or set a web servr option that has the same effect.
--
⚂⚃ 100% natural
1