WordPress.org

Ready to get started?Download WordPress

Forums

Role Scoper
[resolved] UTF-8 support? (5 posts)

  1. pellaeon
    Member
    Posted 3 years ago #

    Hi,

    As a Chinese user, I wish there could be UTF-8 group names support in this plugin.

    Could you contain this feature in the next release?

    Thank you very much.

    http://wordpress.org/extend/plugins/role-scoper/

  2. kevinB
    Member
    Plugin Author

    Posted 3 years ago #

    At first glance, I'm not sure why it's not. Can you help me diagnose this?

    Are the UTF-8 entries stored to the database (use phpMyAdmin to check table wp_groups_rs, column group_name)?

    If so, is there a particular place where the group name is not displayed correctly?

  3. pellaeon
    Member
    Posted 3 years ago #

    Yes, they're stored in the database.

    All places that the group name are displayed showed up as question marks.

    Yesterday I manually changed the group_name column's encoding to utf8_general_ci and everything worked. So I guess this is just a minor database encoding issue.

    I think you'll just have to simply set the encoding to utf8_general_ci (and correct collation) when creating the table, then UTF-8 will work.

    Thanks.

  4. kevinB
    Member
    Plugin Author

    Posted 3 years ago #

    Okay, I just overlooked that and will correct it in the next version.

    Do you also have a problem with the display of multibyte role names alongside other group checkboxes for role assignment?

  5. pellaeon
    Member
    Posted 3 years ago #

    I'm not sure if I caught your meaning correctly, but except for the group name problem, everything works pretty well.

    Thank you for this awesome plugin, I'll translate it into Chinese when I have time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic