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

carlos.burgueño created an issue. See original summary.

carlos.burgueño’s picture

Issue summary: View changes