WordPress.org

Ready to get started?Download WordPress

Forums

Global Content Blocks
[resolved] Cyrilic text tirns to ????? (11 posts)

  1. TIgor4eg
    Member
    Posted 1 year ago #

    When I use Russina symbols in content block, after saving they turn to ?????.

    http://wordpress.org/extend/plugins/global-content-blocks/

  2. benz1
    Member
    Plugin Author

    Posted 1 year ago #

    What character encoding is your site set to?

  3. TIgor4eg
    Member
    Posted 1 year ago #

    UTF-8

    Here is example page.
    When I paste this text to editor

    Другие жетоны:
    Premium
    Акционные жетоны
    Владение оружием
    Back to Karkand
    Close Quarters
    Armored Kill

    It becomes

    ?????? ??????:
    Premium
    ????????? ??????
    ???????? ???????
    Back to Karkand
    Close Quarters
    Armored Kill

  4. benz1
    Member
    Plugin Author

    Posted 1 year ago #

    If you are happy editing database tables, the temporary solution is to change the collation (character set) for the 'value' column in the wp_gcb table to utf8 (in my phpmyAdmin it is called 'utf8_bin').

    I'll put a fix in place in the next version.

  5. TIgor4eg
    Member
    Posted 1 year ago #

    Thank you, i edited database, now it works. Great plugin.

  6. selfar
    Member
    Posted 1 year ago #

    Thank you for a comfortable and useful plugin.
    Can we expect a problem with character encoding in the near future?

  7. benz1
    Member
    Plugin Author

    Posted 1 year ago #

    A fix will be included in the next update. Just adding a couple of additional new features at the momment but shouldn't be far away.

  8. trurla
    Member
    Posted 1 year ago #

    Hi,

    I've met the common problem but with Czech language where ŕ or ŕ by numerical code (I've tried both) isn't displayed correctly by the plugin. I've checked this character in WP blog pages (in titles and post bodies) and everything displays fine there. It is also displays correctly at the Text editor tab in Global content bock plugin, but changes to the ? sign in Visual editor tab and on the final page.

    Other characters like á or š are ok, just ŕ is wrong.

  9. trurla
    Member
    Posted 1 year ago #

    I've updated plugin with a new version and with a Czech ŕ character it still doesn't work =(

    The database collation is utf8_bin

  10. benz1
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin uses UTF-8 which is an international standard. Maybe it doesn't support your Czech ŕ character?

  11. trurla
    Member
    Posted 1 year ago #

    That could be so, but posts with ŕ character and pages with ŕ character display correctly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.