Shivender Devarakonda <shivenderd(at)gmail(dot)com> writes:
> I did not give any explicit encoding while creating the DB. I am running
> postgres on Windows XP system.
Well, you should look at what server_encoding is set to, then.
If it's not UTF-8 then that's likely the source of the problem.
regards, tom lane