Other Strange characters in WP since last update

telsave

DW Member +
Joined
Jun 8, 2002
Messages
658
Reaction score
33
Location
Newcastle
Hi Hope someone can help this doddery old arthritic man. I am using WordPress 4.7.2 on windows 8.1 and noticed when I last updated some strange characters appeared in my content: `for example private practice. Applicants do not need`

I do not appear to be able to get rid of them by clearing them from the content they just keep coming back.

As I say I am a doddery old non-technical OAP. Can anyone out there suggest in the simplest of language (be nice please) how I can get rid of them and return my pages to content that can be read.

cheers
 
I'm no expert at WP but I would reckon its some kind of character encoding problem,check your wp-config.php file to see if there are entries like these ones,

define('DB_CHARSET', 'utf8'); /* Database Charset to use in creating database tables. */
define('DB_COLLATE', ''); /* The Database Collate type. Don't change this if in doubt. */
 
I'm no expert at WP but I would reckon its some kind of character encoding problem,check your wp-config.php file to see if there are entries like these ones,

define('DB_CHARSET', 'utf8'); /* Database Charset to use in creating database tables. */
define('DB_COLLATE', ''); /* The Database Collate type. Don't change this if in doubt. */

Hi

Many thanks for taking time out to try to help.

You were correct in your surmise my wp-config.php contains the lines

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
@ini_set('error_reporting',0);
define('DISABLE_WP_CRON', true);

The question is how do I correct this and as it also mentions the DBase would there to be changes to be made there or by changing the config file would that also change the DBase.

Appreciate any help on this, please.

regards
 
Based on googling try putting two forward slashes in front of the lines i.e.

//define('DB_CHARSET', 'utf8');

//define('DB_COLLATE', '');

That will comment out those lines and it should then default to whatever it was originally way back when lol

If that fails then try changing the utf8 to latin1 and remove the forward slashes from both


Lets know how that goes :)
 
Based on googling try putting two forward slashes in front of the lines i.e.

//define('DB_CHARSET', 'utf8');

//define('DB_COLLATE', '');

That will comment out those lines and it should then default to whatever it was originally way back when lol

If that fails then try changing the utf8 to latin1 and remove the forward slashes from both


Lets know how that goes :)

Hi Mate

Sorry to have taken so long to get back to you my health has stopped me working on site lately.

I have tried both no difference

latest spurious characters
ИнÑтитут Интегративной ПÑихотерапии и Коучинга (ИИПК), г. МоÑква, зарегиÑтрирован и работает Ñ 2004 года, учредители ИнÑтитута - физичеÑкие лица.

Ðаш инÑтитуте первым в РоÑÑии Ñтал проводить долгоÑрочные практичеÑкие программы по обучению пÑихологичеÑкому конÑультированию Ð´Ð»Ñ Ð¿Ñихологов и пÑихотерапевтов, которые ÑоответÑтвуют Ñтандартам и одобрены ЕÐС (ЕвропейÑÐºÐ°Ñ Ð°ÑÑÐ¾Ñ†Ð¸Ð°Ñ†Ð¸Ñ Ð¿ÑихологичеÑкого конÑультированиÑ).

Ðаш инÑтитут в 2006, ÑовмеÑтно Ñ Ð¸Ð½Ñтитутом Прикладных Ñоциальных наук ( IAS AG), Ð¨Ð²ÐµÐ¹Ñ†Ð°Ñ€Ð¸Ñ Ð¾Ñ€Ð³Ð°Ð½Ð¸Ð·Ð¾Ð²Ð°Ð» международную орамму "Коучинг и развитие организаций" , не имеющую до Ñих пор аналогов в РоÑÑии.

Ð’ нашем инÑтитуте, Ð½Ð°Ñ‡Ð¸Ð½Ð°Ñ Ñ 2012 года, проводитÑÑ Ð¼Ð°Ñтер - ÐºÑƒÑ€Ñ ÐžÐ»ÑŒÐ³Ð¸ ÐлекÑандровны Лукиной "Коучинг Ð´Ð»Ñ Ð»Ð¸Ð´ÐµÑ€Ð°". Это Ð³Ð»ÑƒÐ±Ð¾ÐºÐ°Ñ Ð¸ практичеÑÐºÐ°Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ð°, Ð²Ð¾Ð±Ñ€Ð°Ð²ÑˆÐ°Ñ Ð² ÑÐµÐ±Ñ 15-летний опыт уÑпешного лидерÑкого конÑÑƒÐ»ÑŒÑ‚Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ ÐžÐ»ÑŒÐ³Ð¸ ÐлекÑандровны и ее коллег.

If anyone can help I would be grateful the site I work on has over 40 posts and 180 articles many of them scientific papers and it looks awful to have these characters appear

regards

any non-techie help appreciated
 
I should have said that my wp-config.php file is :-
<?php
/** Enable W3 Total Cache Edge Mode */
//Added by WP-Cache Manager
//define('WP_CACHE', true); //Added by WP-Cache Manager
define('W3TC_EDGE_MODE', true); // Added by W3 Total Cache


/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information
* by visiting {@link Editing wp-config.php << WordPress Codex Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @Package WordPress

*/

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'JETPACK_CLIENT__HTTPS', 'NEVER' );
// ** My SQL...


// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
//Added by WP-Cache Manager
define( 'WPCACHEHOME', '/home1/eacweb/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
define('DB_NAME', 'eacweb_wrdp11');

/** MySQL database username */
define('DB_USER', 'eacweb_wrd11');

/** MySQL database password */
define('DB_PASSWORD', 'nCcmQkqgWuPq');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'latin1');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
@ini_set('error_reporting',0);
define('DISABLE_WP_CRON', true);

/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', '@j?ipQ1nR,[email protected]{%gQEpSr_+<dyb+>:Yd#nWbetyh~4rmMUap4Q6rZEcZy');
define('SECURE_AUTH_KEY', '+hOIBXnJ~C;ftmT([CA|]_wDSeac.eu.comG<K?#S8{H>//EaLy7]h:jhRfj.K=Usg#g&$9+ox');
define('LOGGED_IN_KEY', 'c8K?-u_wU{BZ2yHK_sbOo1@?!eac.eu.com}H<`PM%7^l6VJTY,~DSOJ,zCtVI@Ym$WZi1@5x5');
define('NONCE_KEY', 's5,9YV+%:+HFX#l~ %RE`AZ/peac.eu.comUzn<&<R%71t-|[H-L+}AtN9/thH&dMcVM8WN|Q}');
define('AUTH_SALT', 'KUEIq@~d.Tk+~t>1:HS9$8G_*eac.eu.comzG,jcuq2l=7l#KE[-1c)QW3a{LwGi-kwhRVP&]g');
define('SECURE_AUTH_SALT', ';0GoKVCGWIZh:YOa*h[]-T&Dieac.eu.comnp=:iQ;z$>OkEYNi2@Y`|5-c|n:Jb #}97E?LX7');
define('LOGGED_IN_SALT', 'we3RP{hVolwbVh-((L%LEcHKleac.eu.com[IaA9<bDvi`h/M:3U7xK8S]A|.Q,2$|*jcOqWNB');
define('NONCE_SALT', '~<MckLITBiGaIV)497^JDbe-)eac.eu.comG:*}/Prup?HeQMLNLz2kG~d/306X7Noin@gGh7+');

/**#@-*/

/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'hyygd_';

/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', '');

/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/

define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
//Disable File Edits
define('DISALLOW_FILE_EDIT', true);

The DB Charset =`/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'latin1');`

Any help really appreciated
 
Last edited by a moderator:
Try changing this from:

define('DB_CHARSET', 'latin1');

to

define('DB_CHARSET', 'utf8mb4');

After that I'm lost as I dont use wordpress,I just set it up to mess around with :(
 
Try changing this from:

define('DB_CHARSET', 'latin1');

to

define('DB_CHARSET', 'utf8mb4');

After that I'm lost as I dont use wordpress,I just set it up to mess around with :(

Thanks for your help. I have changed the wp-config.php file but I will have to go through the effecte pages and change them to see if it worked

Thank you for taking time out to help it is really appreciated

regards
 
Back
Top