Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Export configuration to tar file fails on a content type when the content type, in the name or description, contain special characters such as accents. The language of the site is spanish.
P.e. for a content type with name "Página Básica" and then same description, the module generates "content_type.pagina_basica.inc" file. In this file, the php code is broken for specials characteres like 'á' and the import of this content type fails.
Proposed resolution
When generating the tar file, consider the character encoding. Review "createTarContent" function.
Remaining tasks
Reviews needed
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
carlos.burgueño CreditAttribution: carlos.burgueño commented