pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedStorage of Indian Language text in postgresql through PHP
3+ messages / 3 participants
[nested] [flat]
* Storage of Indian Language text in postgresql through PHP
@ 2011-06-14 07:17 INDER <inderjeetsinghit@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: INDER @ 2011-06-14 07:17 UTC (permalink / raw)
To: pgsql-sql
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Storage of Indian Language text in postgresql through PHP
@ 2011-06-14 20:14 Amitabh Kant <amitabhkant@gmail.com>
parent: INDER <inderjeetsinghit@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Amitabh Kant @ 2011-06-14 20:14 UTC (permalink / raw)
To: INDER <inderjeetsinghit@gmail.com>; +Cc: pgsql-sql
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Storage of Indian Language text in postgresql through PHP
@ 2011-06-15 20:02 Jasen Betts <jasen@xnet.co.nz>
parent: INDER <inderjeetsinghit@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Jasen Betts @ 2011-06-15 20:02 UTC (permalink / raw)
To: pgsql-sql
On 2011-06-14, 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.
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2011-06-15 20:02 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 07:17 Storage of Indian Language text in postgresql through PHP INDER <inderjeetsinghit@gmail.com>
2011-06-14 20:14 ` Amitabh Kant <amitabhkant@gmail.com>
2011-06-15 20:02 ` Jasen Betts <jasen@xnet.co.nz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox