Title: Encoding problem
Last modified: November 3, 2016

---

# Encoding problem

 *  [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/encoding-problem-23/)
 * Hi guys,
    I love you plugin but it does now work with cyrilic letters. Every 
   time I try to make any cyrillic text in the free text field, after save, the 
   field shows wrongly encoded symbols. Please check! Thanks

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

 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/encoding-problem-23/#post-8395954)
 * Update:
    line 456 in ba.goal_model.class.php $vals = get_post_meta($goal_id, ‘
   _goal_after_values’, true); rerurns nothing in case any symbol in meta field 
   is not latin How to fix that?
    -  This reply was modified 9 years, 7 months ago by [gorbacheff](https://wordpress.org/support/users/gorbacheff/).
 *  Thread Starter [gorbacheff](https://wordpress.org/support/users/gorbacheff/)
 * (@gorbacheff)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/encoding-problem-23/#post-8396842)
 * Sorry I was wrong. Just add UTF-8 encoding to your **htmlentities** function,
   lines 262 and 309 in ba.goal_model.class.php , this solves the issue.
 * Also, in line 287 of **ba.shortcodes.class.php** you use
    apply_filters(‘the_content’,
   $freeText) , that leads to errors with some plugins that add modules straight
   after content div (in case of you plugin, such calls are doubled, messing up 
   the website page). I’d advise you “keep the text as is” without wrapping it in
   content filter, or, better, study a solution like this: [http://themehybrid.com/weblog/how-to-apply-content-filters](http://themehybrid.com/weblog/how-to-apply-content-filters)
 * hope this helps
    🙂
    -  This reply was modified 9 years, 7 months ago by [gorbacheff](https://wordpress.org/support/users/gorbacheff/).
 *  Plugin Contributor [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * (@richardgabriel)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/encoding-problem-23/#post-8506751)
 * Hey gorbacheff!
 * Somehow I missed this entire thread, but thanks so much for the specific input!
   We’ve found it quite helpful.
 * All the best,
    Richard

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/before-and-after_96a3d1.svg)
 * [Before And After: Lead Capture Forms For Wordpress](https://wordpress.org/plugins/before-and-after/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/before-and-after/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/before-and-after/)
 * [Active Topics](https://wordpress.org/support/plugin/before-and-after/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/before-and-after/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/before-and-after/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [richardgabriel](https://wordpress.org/support/users/richardgabriel/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/encoding-problem-23/#post-8506751)
 * Status: not resolved