I am trying to save some value prefixed with the currency symbol like in €10. Yet when I manually enter them in the DB the euro sign gets turned now and then in ?. When then I query the line I get sometimes again the question mark with the value and some other times NaN for the full value. The issue changes if I query the line by using the email field or the unique identifier. Using $ or ® instead of € presents no problems; even ™ is turned to ?, though.
What is strange is that if I try to replace the question mark with the original character, MariaDB complains that there is no change in the line, like if that character were in fact present even if not shown!
I tried restarting MariaDB, just in case, but the problem remained. I am using UTF32 for encodage and utf32_unicode_ci for collation. I am testing the thing with Sequel_pro without even touching php not to stack things. At any rate if I execute the query from a php script and parse the result with JSON I get null for the value.
What could be the issue with those special characters?