<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
The previous versions of wp-mpdf has given me the umlauted ? and ? as well as the Esperanto diacritical letters (?, ?, ?, ?, ? and ?) as they are in utf-8. I now updated to WP 5.9.1 and wp-mpdf 3.7.1 and I get only the umlauted letters.
This is the same issue as Greek Characters Encoding Issue.
Addendum
I had to restore from back-up the whole site since generating PDFs is currently broken.
See
https://finnababilejo.fi/artikolo/juha_metsakallas/2022/03/joka-toista-haukkuu-itse-on/
and try to generate a PDF (button in at the end of the article).
]]>I am not a tech guy but i have managed to transferred my website from one server to another, everything was fine but now when i add new posts in my site it is showing a€, a€ character in my new posts, old posts are showing correctly.
When i check config file it was showing me define(‘db_charset’, ‘utf8mb4’); i tried to change it to latin, utf8 but nothing works.
After that i used firefox old version and change the encoding from western to utf8, then the character of the new posts are showing correctly then i added <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> code in the header, this works in firefox but still in chrome i am seeing incorrect character in my new posts.
Can anyone please help me to fix this issue.
]]>I have changed the encoding in the wp-config file from
define( ‘DB_CHARSET’, ‘utf8mb4’ );
to
define( ‘DB_CHARSET’, ‘utf8mb4_unicode_520_ci’ );
Which now allows me to save the foreign characters. That is working perfectly
I have also changed the collation for all tables in the database to be utf8mb4_unicode_520_ci as well.
However this change is causing issues for the existing English content.
Now in the English content I see the question mark in the black diamond for many spaces but not all spaces and for apostophes and quotation marks.
The content in the two different formats appears like this:
Using define( ‘DB_CHARSET’, ‘utf8mb4_unicode_520_ci’ );
which?lies approximately 50-minutes from central Bangkok, is one of Thailand?s premier golfing destinations. The land at?the members only?</p>
Using define( ‘DB_CHARSET’, ‘utf8mb4’ );
which lies approximately 50-minutes from central Bangkok, is one of Thailand’s premier golfing destinations. The land at the members only
The apostophes and quotation marks are easily fixed with a search and replace on the database however the spaces are still a problem. Because I don’t know what to search for and replace in the database to replace the “different” spaces.
A search for
returns no results as this is not actually stored in the database. So what can I do to replace all the “BAD” space characters with normal space characters?
Please note that I have already tried
remove_filter('the_content', 'wptexturize');
remove_filter( 'the_content', 'wpautop' );
and neither resolves this issue.
I have also tried the UTF8 sanitise plugin and no help either.
Lastly I have tried exporting the entire database and there appears to be no difference in the .sql file between the normal spaces and the “BAD” spaces, however even after export and reimport of the same .sql the problem still persists so there must be a difference between the space characters.
I’m completely stumped.
Thanks for your help
]]>B?ttre teckenkodning (2020-06-15)
F?rb?ttrade st?det f?r utl?ndska tecken och komplett UTF8-kodning oavsett vilken teckenkodning ni hade fr?n b?rjan. Allt enligt Fraktjakts API-krav.
Kort sagt b?r ni som k?r sajten med ett spr?k som inte anv?nder latinskt alfabet, uppleva problem med teckenkodningen.
IN ENGLISH:
Today we release version 2.2.6
Better character encoding (2020-06-15)
Enhanced support for foreign characters and complete UTF8 encoding no matter what format it had from the beginning. All according to Fraktjakt API requirements.
In short: experience less problems with foreign character encodings with non latin alphabets.
]]>It is a local host on XAMPP, WP, Avada theme. All is up to date.
I have tried to unify my character encoding trough out wp-config.php file, HTML, and database. (https://www.maketecheasier.com/fix-foreign-characters-in-wordpress-issue/)
When I use some of non Google fonts like Courier special Croatian characters are displaying properly.
Please help, I really like these fonts and would love to have them on my site.
]]>This seems to be happening only in Chrome. I don’t get this issue in Firefox or Safari.
Here’s a screenshot so you can see what I’m referring to.
Any ideas what the source of this issue is?
]]>I guess this is due to the way that Zotpress detects the title and creates the link. Could this be solved by changing the CSL file somehow?
]]>Thanks in advance!
]]>Thanks for the great plugin, it works very well.
However, when I send a multi-language email (in this case, English and Arabic), the encoding for the body are received wrongly on outlook. It seems like it is set to western no matter what charset I set with the WP charset filter. The mail subject do reflect the charset changed though.
I have tested the issue on Outlook and Mac mail, Mac mail does display the encoding correctly, but Window and Mac Outlook does not.
Then, I try send an encrypted mail with mixed language directly from outlook to outlook, or Mac mail to outlook, it does display the encoding correctly.
Do you have any ideas about what is causing the issue?
I appreciate your reply. Thank you in advance!
Regards,
Chris