modmore / VersionX

Resource & Element Versioning Extra for MODX Revolution (supports 2.2 and up). Extends the core in a future-proof manner to keep copies of every change to resources, templates, template variables, chunks, snippets and plugins.
https://modmore.com/extras/versionx/
40 stars 20 forks source link

Different (strange) special character encoding #131

Closed weitblick closed 6 months ago

weitblick commented 6 months ago

Every time VersionX makes an entry, the special characters in template variables are encoded differently and this is then recorded as a change, although nothing has changed. Always back and forth. See screenshot. MODX 2.8.7, php 8.2, VersionX 3.1.0-pl, all tables have utf8_general_ci. versionx_encoding

weitblick commented 6 months ago

I have tested further and believe that it is not a VersionX problem. The character encoding is also found in modx_site_tmplvar_contentvalues and VersionX therefore records the conversion of the special characters correctly. It may be a MIGX thing