• Resolved berndelpan

    (@berndelpan)


    Hi, I really love the flexibility of this plugin and want to thank you on this way! Unfortunately I’m experiencing following problem:

    I have to use special characters like “?, ?, ü…”. It seems that charset UTF8 is set well for DB, page etc. If I use the field type text-line there is no problem and the output includes special characters. Once I’m using the drop down list as field type, the option doesn’t get selected (as submitted from DB). The option itself gets showed in the drop down list.

    At the moment I can’t use this field type as it would change values once editing a participant…

    Thanks in advance for your feedback

    https://www.ads-software.com/extend/plugins/participants-database/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    berndelpan,

    I have a fix for this in the next update. If you want to fix it yourself the change is in classes/FormElement.class.php on line 882:

    you have now:
    return preg_replace( '/[^a-zA-Z0-9\p{L}&#;!=]/', '' , htmlspecialchars_decode( (string) $string, ENT_QUOTES ) );

    change this to:
    return html_entity_decode( (string) $string, ENT_QUOTES, 'UTF-8');

    That should fix it.

    Thread Starter berndelpan

    (@berndelpan)

    Worked!

    Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Participants Database] Drop-down problem with special characters’ is closed to new replies.