Sanjeev Sabhlok's notes on technology, hardware, gardening

Hindi in WordPress

See http://www.indiblogger.in/forum/topic.php?id=6334

To write and display unicode Hindi font correctly, you have to do some editing in the config.php file of your blog.

Open up ‘wp-config.php’ from the root directory of your WordPress installation.Add ‘//’ at the very beginning of these two lines:define(‘DB_CHARSET’, ‘utf8′);define(‘DB_COLLATE’, ”);So that section should now look like this://define(‘DB_CHARSET’, ‘utf8′);//define(‘DB_COLLATE’, ”);

TROUBLESHOOT:

The inverted commas are now seen as diamond images with a question mark inside them.  Is there a way to fix that? Looks like this is a consequence of fixing the wp-config.php file.

– 

Nothing wrong with wp-config.php file. It may be your theme or plugins issue. I think the problem is with title only. Try to retype the title and update the post

 

 

 


Quite a nuisance with Hindi plugins – none of them are working.

Here's a closest description of the problem:
http://www.flashbird.com/why-characters-is-shown-like-when-i-use-hindi-unicode-in-joomla-in-my-website.html

Solution to my question: http://www.indiblogger.in/forum/topic.php?action=replied&p=45752&action=replied&p=45722&id=6334

Print Friendly

sabhlok

View more posts from this author
2 thoughts on “Hindi in WordPress
  1. Vipra

    I tried –
    Open up ‘wp-config.php’ from the root directory of your WordPress installation.Add ‘//’ at the very beginning of these two lines:define(‘DB_CHARSET’, ‘utf8′);define(‘DB_COLLATE’, ”);So that section should now look like this://define(‘DB_CHARSET’, ‘utf8′);//define(‘DB_COLLATE’, ”);
     
    but is giving following error –
     
    Parse error: syntax error, unexpected T_STRING in /wp-config.php on line 3

     
    Reply
    1. sabhlok

      Sorry Vipra
      Can’t help, unfortunately. This did work for me. Pl. search the internet for alternative solutions. Usually you can find an answer using the internet.
      S

       
      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *