• 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)
  • 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 2 years, 3 months ago by  gorbacheff.

    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

    hope this helps
    🙂

    • This reply was modified 2 years, 3 months ago by  gorbacheff.
    Plugin Author richardgabriel

    (@richardgabriel)

    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.