Special chars in PHP CODE

Support MB Builder Special chars in PHP CODEResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21516
    clientes@interficto.com[email protected]
    Participant

    hello, when I generate a custom fileds using Metabox builder i am getting an error in PHP code when it have special chars.

    The next is a example when the code have words like:
    Pestañas, Vehículo

                [
                    'type' => 'heading',
                    'name' => "###PESTA\xc3\x91A 1###",
    
    #21522
    Long NguyenLong Nguyen
    Moderator

    Hi,

    We've updated the Online Generator and MB Builder, used the PHP Encoder to encode the Tonal Language (Pestañas, Vehículo, Tiếng Việt) and optimize the generated PHP code. It's not an error PHP code so don't worry about that.

    #21563
    clientes@interficto.com[email protected]
    Participant

    I don't unsderstand the soplution. Before I copied and paste the php code in my functions and it worked howeever now the especial char have strange characters. How to solved it?

    #21572
    Long NguyenLong Nguyen
    Moderator

    Hi,

    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.

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