Unable to read multibyte text in code output by the builder

Support MB Builder Unable to read multibyte text in code output by the builderResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23643
    YumikomYumikom
    Participant

    Hi,

    I'm in great trouble, it seems that the CODE output by the MB Builder is multibyte encoded.
    The next "name".

    
      'fields'        => [
                        [
                            'id'   => $prefix . 'home_main_title',
                            'type' => 'textarea',
                            'name' => "###\xe3\x82\xbf\xe3\x82\xa4\xe3\x83\x88\xe3\x83\xab###",
                        ],
    

    I want to customize the custom field created by MB Builder with functions,
    but I can't read the multibyte text and it's very difficult to use.
    Is there a way around this?

    Best regards,
    Yumikom

    #23644
    YumikomYumikom
    Participant

    Hi,

    On the admin panel edit page,'##' is displayed.
    I'm using it on a'page'that has Gutenberg disabled.

    
      'name'          => "###\xe3\x83\xa1\xe3\x82\xa4\xe3\x83\xb3\xe3\x82\xb9\xe3\x83\xa9\xe3\x82\xa4\xe3\x83\x89\xe3\x82\xb7\xe3\x83\xa7\xe3\x83\xbc###",
    

    '###メインスライドショー###'

    I want to edit with plain text in the code.

    Best regards,
    Yumiko

    #23649
    Long NguyenLong Nguyen
    Moderator

    Hi Yumikom,

    We've updated the Online Generator and MB Builder, used the PHP Encoder to encode the Tonal Language or accented charaters (Pestañas, Vehículo, Tiếng Việt) and optimize the generated PHP code.

    If you use the Builder to generate the code then paste the code to the file functions.php, please re-type the name of the field. I’m going to discuss with the developer team to research and cover this case. Thank you.

    #23658
    YumikomYumikom
    Participant

    Hi Long,

    Thank you for teaching me that it is difficult to treat tone accents as text.

    I often use the process of creating complex custom fields in MB Builder and customizing them in PHP.
    It was very difficult to manually enter the name, group title, add title...etc. field, so it would be helpful if we could generate a code that was ready to use as before.

    Thanks and Regards,
    Yumikom

    #23758
    Anh TranAnh Tran
    Keymaster

    Hi Yumikom,

    We've fixed this bug in the latest version of MB Builder and Meta Box AIO. Please update.

    #23759
    YumikomYumikom
    Participant

    Hi Tran,

    Thank you for your prompt response!
    I will try it in the next update.
    Maintaining the ease of use of the builder is very helpful to me.

    Thanks,
    Yumikom

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.