pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: Storage of Indian Language text in postgresql through PHP
Date: 15 Jun 2011 20:02:52 GMT
Message-ID: <itb35c$ul8$1@reversiblemaps.ath.cx> (raw)
References: <97f908b6-941c-492a-9c93-ba0ac8b6e45b@q14g2000prh.googlegroups.com>

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




view thread (3+ messages)

Message-ID: <itb35c$ul8$1@reversiblemaps.ath.cx>
Permalink:  ../itb35c$ul8$1@reversiblemaps.ath.cx/
Also on:    postgresql.org/message-id/itb35c$ul8$1@reversiblemaps.ath.cx

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jasen@xnet.co.nz
  Subject: Re: Storage of Indian Language text in postgresql through PHP
  In-Reply-To: <itb35c$ul8$1@reversiblemaps.ath.cx>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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