Title: Encoding!
Last modified: August 20, 2016

---

# Encoding!

 *  Resolved [answercop](https://wordpress.org/support/users/answercop/)
 * (@answercop)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/encoding-1/)
 * Fix encoding issue, please!
 * Screenshot:
    [http://img.servicebox.org/2012/1/20121109-7i9-22kb.jpg](http://img.servicebox.org/2012/1/20121109-7i9-22kb.jpg)
 * Russian language!
 * Thanks.
 * [http://wordpress.org/extend/plugins/simple-post-template/](http://wordpress.org/extend/plugins/simple-post-template/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [meslahik](https://wordpress.org/support/users/meslahik/)
 * (@meslahik)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180163)
 * Same Problem …
 *  [Case_f](https://wordpress.org/support/users/case_f/)
 * (@case_f)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180199)
 * Same here (Czech language). The problem is that the table fields use latin1_swedish
   locale settings.
 * I’ve managed to fix it, but please note **I only have a very limited understanding
   of PHP and SQL, so I’m not sure whether this might cause any problems or not!
   So do at your own risk.**
 * First, edit the plugin code itself. Find this line:
 * `) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1";`
 * and change it to:
 * `) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1";`
 * Then, you need to alter the table itself. I’ve done it using the MySQL web console
   on my hosting, not sure if it’s standard or not. Anyway, you need to locate table
   wp_simple_posts_templates in your wordpress install database. Then you need to
   change the collate settings of the individual fields – in my MySQL console, I
   had to click on the “Structure” tab, check the checkboxes next to title, excerpt
   and content fields, click Edit and then change the collate charset from “latin1_swedish_ci”
   to “utf8_general_ci”.
 * But then you also need to change the default charset of the whole table, otherwise
   it will reset back to latin1_swedish. So I’ve ran this SQL command on the table:
 * `ALTER TABLE \`wp_simple_posts_templates\` DEFAULT CHARACTER SET utf8 COLLATE
   utf8_unicode_ci`
 * And done. Now the plugin supports Czech characters just fine.
 *  Plugin Author [Clifton Griffin](https://wordpress.org/support/users/clifgriffin/)
 * (@clifgriffin)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180240)
 * Hi guys,
 * I just uploaded version 2.0.6.1 with UTF8 support. Sorry for messing this up!
 * Upon activation, it should alter your table to use UTF8 instead of latin1 encoding.
 * Clif
 *  Thread Starter [answercop](https://wordpress.org/support/users/answercop/)
 * (@answercop)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180241)
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected ‘.6’ (T_DNUMBER) in /home/admin/domains/
   xxxxxx/public_html/ok/wp-content/plugins/simple-post-template/simple-post-template.
   php on line 35
 *  Plugin Author [Clifton Griffin](https://wordpress.org/support/users/clifgriffin/)
 * (@clifgriffin)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180242)
 * My fault.
 * I added some numbers to the version number but didn’t enclose it in a string.
   Depending on your PHP version, that’s why you would get a fatal error.
 * The latest update should fix that.
 * So sorry.
 *  Thread Starter [answercop](https://wordpress.org/support/users/answercop/)
 * (@answercop)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180243)
 * Works great!
 * Very helpful plugin!
 * Thank you)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Encoding!’ is closed to new replies.

 * ![](https://ps.w.org/simple-post-template/assets/icon.svg?rev=2425232)
 * [Simple Content Templates for Blog Posts & Pages](https://wordpress.org/plugins/simple-post-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-post-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-post-template/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-post-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-post-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-post-template/reviews/)

## Tags

 * [encoding](https://wordpress.org/support/topic-tag/encoding/)

 * 6 replies
 * 4 participants
 * Last reply from: [answercop](https://wordpress.org/support/users/answercop/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/encoding-1/#post-3180243)
 * Status: resolved