Hi,
hindi kruti 13 font is not working in form.
I also installed again but getting same result.
Need advice

Member Avatar for diafol

Is this a mysql or html or even php problem?

After your db connection stuff in php:

mysql_query('SET character_set_results=utf8');
mysql_query('SET names=utf8');
mysql_query('SET character_set_client=utf8');
mysql_query('SET character_set_connection=utf8');
mysql_query('SET character_set_results=utf8');
mysql_query('SET collation_connection=utf8_unicode_ci');

Ensure that your head area has this:

<meta charset="utf-8">

If you're displaying stuff before the html tags, you may need this:

header('Content-Type: text/html; charset=utf-8');

You may also need to set the collation of your database, tables and/or fields to support the extended character set.

EG:

# Create New Database with UTF8 Collation
CREATE DATABASE `testdb` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

# Create new table with UTF8 collation and UTF8 field
CREATE TABLE IF NOT EXISTS `tbl` (
    #...Fields...
    `value` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
    #...More Fields...
) ENGINE=InnoDB DEFAULT CHARSET=utf8_general_ci;

# change existing field collation to UTF8
ALTER TABLE  `tbl` CHANGE  `value`  `value` VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci
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.