By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,039 Members | 1,824 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,039 IT Pros & Developers. It's quick & easy.

How to fetch kannada values from the database in php?

P: 5
How to fetch kannada values from the database in php?
example: ಆಕಾಶ
I want php programm to fetch the above example.....
Jan 31 '12 #1
Share this Question
Share on Google+
9 Replies


dlite922
Expert 100+
P: 1,584
Is your database in UTF-8 charset?

Dan
Jan 31 '12 #2

P: 5
@dlite922
yessssss..... my database is in UTF-8 !!!

I want exact encoder to fetch kannada character from the database in php.........
Jan 31 '12 #3

Dormilich
Expert Mod 5K+
P: 8,639
then you need to set your db connection to use UTF-8 and (naturally) the output encoding as well.
Feb 1 '12 #4

P: 5
@Dormilich
It is in UTF-8 only but the output is displays ?????? like this, for that what i want to do?


I want to fetch kannada character from the database
i need php encoder syntax.......
Feb 1 '12 #5

Dormilich
Expert Mod 5K+
P: 8,639
did you verify the output encoding?
Feb 1 '12 #6

P: 5
@Dormilich
Yes i verified the output, but it displays as ??????? like this only..


There is an encoding syntax are there for kannada characters to fetch the values from the database.
Feb 2 '12 #7

Dormilich
Expert Mod 5K+
P: 8,639
Yes i verified the output,
I didn't ask for the output, I asked for the output encoding.

as example, if you display Shift-JIS as Latin-1 you'll only see scrambled characters.
Feb 2 '12 #8

P: 5
@Dormilich
I want one more clarification,how to connect database
in php?
Feb 3 '12 #9

P: 1
simply you want to connect database you requrment phpmyadmin
fist on create database after
you can use mysql_connect function after selcte database
afeter
you can fetch record useing the mysql_fetch_array function
Feb 5 '12 #10

Post your reply

Sign in to post your reply or Sign up for a free account.