• Resolved nuthan

    (@nuthan)


    I am trying to create posts in hindi language. These characters “UéeéM?üqééU” after saving/publishing are interpreted as “U?e?M??q??U”. Though, the special characters are stored with no change in the mysql database. The ? symbol is only during retrieving.
    I’m stuck here.

    I tried commenting these lines in wp-config.php. But none worked.

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'UTF-8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    Also, place mysql_query("SET NAMES utf8"); in wpdb class constructor of wp-db.php. Negative, even this didn’t work

    How do i overcome this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nuthan

    (@nuthan)

    Forgot to mention, I am not using default post editor. The post editor is modified to intake multiple visual editor wpalchemy Metabox
    Any ideas to resolve with ? characters?

    Thread Starter nuthan

    (@nuthan)

    Its utf-8 character encoding problem. Fixed it using the function utf8_encode():
    utf8_encode(html_entity_decode($mb->get_the_value()));

    P.S.Wpalchemy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘special characters after saving draft interpreted as ?’ is closed to new replies.