WARNING !!!
HERE I PRESENT A SOLUTION I ADOPTED IN MY FLARUM PRODUCTION SITE, BUT YOU MUST KNOW WHAT YOU DO AND AT YOUR OWN RISK !!!
I'm an Italian forex professional trader and I PROUDLY master my JOB PRODUCTION SITE powered by FLARUM
Feel free to see and test it (please use FLARUM tag) at
http://nova4x.com
https://nova4x.eu
I already presented this little tip but in the wrong way
Now I'd like to fix my mistake
Indeed this solution may seem insignificant for native English speakers, but for the neo-Latin like us Italians, the French, the Spaniards and so on, accented characters are a headache
In neo-Latin we use a lot the accented characters, but now all PC have the international QWERTY keyboard
This means that there aren't accented capitals and small accented characters are very uncomfortable to reach, so we use the apostrophe
But this shortcut is both grammatically incorrect and ugly to see in the published posts
Beside in browsers with spell checkers, the site pages are full of words underlined in red as errors
You can solve the problem with 3 simple passages
1) Copy and past in a simple text editor the following code, save it as accented.sql (the name doesn't matter, but the extension MUST BE .sql)
UPDATE flarum_posts SET content = REPLACE(content,"a'","à");
UPDATE flarum_posts SET content = REPLACE(content,"A'","À");
UPDATE flarum_posts SET content = REPLACE(content,"e'","è");
UPDATE flarum_posts SET content = REPLACE(content,"E'","È");
UPDATE flarum_posts SET content = REPLACE(content,"i'","ì");
UPDATE flarum_posts SET content = REPLACE(content,"I'","Ì");
UPDATE flarum_posts SET content = REPLACE(content,"o'","ò");
UPDATE flarum_posts SET content = REPLACE(content,"O'","Ò");
UPDATE flarum_posts SET content = REPLACE(content,"pò","po'");
UPDATE flarum_posts SET content = REPLACE(content,"Pò","Po'");
UPDATE flarum_posts SET content = REPLACE(content,"u'","ù");
UPDATE flarum_posts SET content = REPLACE(content,"U'","Ù");
2) Always make a backup copy of your FLARUM database
3) Every couple of days open phpMyAdmin, IMPORT the file and GO, as in the following picture
...that's all!