Hi all ,,

i wanted to dispaly unicode values I saved in database. I use mysql database collation type is utf8
I save my native lanugage characters 'Sinhala' in the database. Although I can see them database when I print them in browser it prints ????????? characters.

what's going on here and how to solve this.

thanks in advance...........................

How do you output to the browser? Did you specify a character encoding?

no, I just take the characters from database and send to the browser. do i need to encode? If yes how and what format?

thx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.