Hey there,
I've used CouchCMS for many of my sites now - never had any issues or bugs to report that I couldn't work around. But now somehow one little tricky bug gets me running in circles. So here it is:
My client typed in "90m²" in a textarea field and out came "90m²". First I thought it might be a charset-error or whatever, but the charset is ok and set to UTF-8 and all the other special characters are ok though. Then I clicked the source-button and realized that somehow CouchCMS is creating an "²" instead of an "²" - it seems like the ampersand is generated as it should, if it would stand alone, and the rest goes through as pure text.
I've searched and tried to fix the functions.php but somehow none of my attempts worked out. Any suggestions how we can eradicate this?
Thanks so far!
Car
I've used CouchCMS for many of my sites now - never had any issues or bugs to report that I couldn't work around. But now somehow one little tricky bug gets me running in circles. So here it is:
My client typed in "90m²" in a textarea field and out came "90m²". First I thought it might be a charset-error or whatever, but the charset is ok and set to UTF-8 and all the other special characters are ok though. Then I clicked the source-button and realized that somehow CouchCMS is creating an "²" instead of an "²" - it seems like the ampersand is generated as it should, if it would stand alone, and the rest goes through as pure text.
I've searched and tried to fix the functions.php but somehow none of my attempts worked out. Any suggestions how we can eradicate this?
Thanks so far!
Car