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

  1. pellaeon
    Posted 5 years ago #


    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.


  2. Kevin Behrens
    Plugin Author

    Posted 5 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
    Posted 5 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.


  4. Kevin Behrens
    Plugin Author

    Posted 5 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
    Posted 5 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

  • Role Scoper
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic