Home › Forums › Add-ons › Repeater Field › Problem with special characters in Repeater › Reply To: Problem with special characters in Repeater
I’m importing names into acf fields of existing posts. The source is an xml utf8-formated.
I use a name-field from my source for all three fields in my repeater.
Name – textfield Herbert Schmidt Herbert Schmidt
Link – linkfield Herbert Schmidt url.de/person/herbert-schmidt
Image – imagefield Herbert Schmidt url.de/images/herbert-schmidt.jpg
“normal” names work fine. I get the Name, I get the url from the existing page und I get the connection to the existing image.
But names with “umlaute” / special characters like ä,ö,ü, do not work for the link and the image.
Name – textfield Herbert Müller Herbert Müller
Link – linkfield Herbert Mller or Herbert M-xFC-ller
Image – imagefield Herbert Mller or Herbert M-xFC-ller
But I need Herbert Muller or Herbert Mueller to connect with the existing files…
I tried the sanitize-function but it does not work either. I cannot connect the new post with the existing image and page.
When I edit the link-field in my imported post, I can search the name with the special character and it works fine.
What do I get wrong during the import? Thanks.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.