WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPress charset codifica problema dopo l'aggiornamento alla versione 2,2

WordPress blogs that upgraded to Wordpress version 2.2 may encounter strange character set (charset) encoding problem where several characters especially apostrophes (’), quotation marks (”), and hyphens or dashes (—) are displayed as strange characters such as ’ or simply as question marks (?) when the posts are output to web pages. WordPress blog che Wordpress aggiornato alla versione 2.2 possono incontrare strano set di caratteri (charset) dove problema di codifica caratteri diversi soprattutto apostrofi ( '), le virgolette ( "), e trattini o trattini (-) vengono visualizzati come caratteri strani come ad esempio â € ™ o semplicemente come punti interrogativi (?) quando i posti sono uscita a pagine web. As you have probably suspected, the issue is caused by character encoding method used by Come avete probabilmente sospetti, il problema è causato dal metodo di codifica usato da WordPress 2.2 which supports setting of database collation and character set WordPress 2,2 che sostiene l'impostazione della banca dati raccolta e set di caratteri in WordPress config file. nel file di configurazione di WordPress.

The error happens because up to and including WordPress ver 2.1.3, almost all WordPress databases were created using the latin1 character set and the latin1_swedish_ci collation. L'errore si verifica perché fino a quello di WordPress ver 2.1.3, quasi tutte le banche dati di WordPress sono stati creati utilizzando il set di caratteri latin1 e la raccolta latin1_swedish_ci. Beginning WordPress v2.2, WordPress allows the user to define both the database character set and the collation in wp-config.php file, using DB_CHARSET and DB_COLLATE values. Inizio WordPress v2.2, WordPress permette all'utente di definire sia il database set di caratteri e la raccolta in wp-config.php file, utilizzando DB_CHARSET e DB_COLLATE valori. With these values set to another encoding, WordPress assumes that the databases are indeed using the charset and collation too, where it’s not the case for existing WordPress installation. Con questi valori fissati ad un altro di codifica, WordPress presuppone che le basi di dati sono effettivamente utilizzando il set di caratteri e collazione troppo, se non è il caso per l'installazione di WordPress esistenti. So if you’re upgrading WordPress to 2.2 using the default wp-config.php, or have manually modified the file to include the new variables, or upgrading by using Fantastico which automatically update the wp-config.php file to include these two definitions which values set as Unicode UTF-8 by default, you will need to remove these definitions to solve the character encoding error. Quindi, se si esegue l'aggiornamento a WordPress 2,2 utilizzando l'impostazione predefinita wp-config.php, o hanno modificato manualmente il file per includere le nuove variabili, o di ristrutturazione di utilizzare Fantastico che aggiorna automaticamente il wp-config.php file di includere queste due definizioni che valori fissati come Unicode UTF-8 per impostazione predefinita, sarà necessario rimuovere queste definizioni di risolvere la codifica dei caratteri di errore.

Open and edit your WordPress wp-config.php file. Aprire e modificare il tuo WordPress wp-config.php file. Then locate the following two lines: Quindi individuare le seguenti due righe:

define(’DB_CHARSET’, ‘utf8′); define ( 'DB_CHARSET', 'utf8');
define(’DB_COLLATE’, ”); define ( 'DB_COLLATE', ");

You can simply delete these 2 lines away, or just remove the utf8 from the first line to make them looks like this: Si può semplicemente cancellare questi 2 linee di distanza, o semplicemente rimuovere il utf8 dalla prima linea per renderli come questo:

define(’DB_CHARSET’, ”); define ( 'DB_CHARSET', ");
define(’DB_COLLATE’, ”); define ( 'DB_COLLATE', ");

With no charset and collation values set, WordPress will fall back to the old default, latin1 which matched the databases. Senza charset e collazione valori fissati, WordPress saranno ridotti a la vecchia impostazione predefinita, latin1, che ha trovato le basi di dati.

A possible better solution is Una possibile soluzione migliore è convert the Wordpress database to UTF8 Unicode Wordpress convertire il database per UTF8 Unicode .

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



32 Responses to “WordPress Charset Encoding Problem After Upgrading to Version 2.2” 32 risposte a "WordPress Charset Encoding Problema Dopo Aggiornamento alla versione 2,2"

Pages: [2] Pagine: [2] 1 » Show All Mostra tutto

  1. Ates Goral Ates Goral
    August 24th, 2008 11:20 24 agosto 2008 11:20
    32

    Thanks! Grazie! Saved me a lot of time. Mi ha salvato un sacco di tempo.

  2. Rodrigo
    August 23rd, 2008 05:24 23 agosto 2008 05:24
    31

    thanks grazie

  3. Endolith
    June 18th, 2008 08:42 Giugno 18, 2008 08:42
    30

    Isn’t UTF8 much better? UTF8 non è molto meglio? Why would you limit yourself to Latin1 just because it used to be the default? Che cosa limitarsi a Latin1 solo perché era l'impostazione predefinita?

  4. Tom Clarke Tom Clarke
    June 6th, 2008 20:56 6 giugno 2008 20:56
    29

    Just wanted to say: this had afflicted me for months. Volevo solo dire: questo mi ha afflitto per mesi. Never found a workable solution. Mai trovato una soluzione. Stumbled on your site today and it worked perfectly. Incappati nel tuo sito e oggi ha funzionato perfettamente. Thanks so much! Grazie così tanto!

  5. Josh
    February 19th, 2008 05:04 19 febbraio 2008 05:04
    28

    Hi, thanks for doing this. Ciao, grazie per fare questo. it’s the only thing I’ve found. è l'unica cosa che ho trovato. I remove the utf8 and a lot of my posts still have the question marks. Rimuovere la utf8 e un sacco di miei post ancora la questione marchi. any ideas what I may need to do? tutte le idee ciò che può essere necessario fare?

  6. Marthin
    February 17th, 2008 03:44 17 febbraio 2008 03:44
    27

    thanks for the help, it worked out for me grazie per l'aiuto, ha funzionato per me :)

  7. Bruno Silva Bruno Silva
    January 5th, 2008 06:55 5 gennaio 2008 06:55
    26

    Thx a lot! Thx a lot!
    You saved me hours! Mi hai salvato ore!

Pages: [2] Pagine: [2] 1 » Show All Mostra tutto

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

wordpress charset WordPress charset - -- wordpress encoding WordPress codifica - -- charset wordpress charset WordPress - -- wordpress utf8 WordPress utf8 - -- wordpress utf-8 WordPress UTF-8 - -- wordpress DB_COLLATE WordPress DB_COLLATE - -- wordpress change charset WordPress cambiare charset - -- wordpress encoding problem WordPress problema di codifica - -- wordpress weird characters WordPress strani caratteri - -- wordpress character encoding WordPress codifica dei caratteri - -- wordpress apostrophes WordPress apostrofi - -- all tutto - -- utf-8 wordpress UTF-8 WordPress - -- utf8 wordpress utf8 WordPress - -- encoding wordpress codifica WordPress - -- Charset Encoding Charset Encoding - -- rendering apostrophe in wordpress rendering apostrofo in WordPress - -- problem with Iphone after upgrading to version 2 problema con Iphone dopo l'aggiornamento alla versione 2 - -- wordpress DB_CHARSET WordPress DB_CHARSET - -- wordpress utf UTF WordPress - -- wordpress 2.6 charset WordPress 2,6 charset - -- wordpress charset problem upgrade WordPress charset problema aggiornamento - -- wordpress 2.6 charset problema WordPress 2,6 charset problema - -- wordpress korean WordPress coreano - -- remove cech characters utf8 rimuovere Cech caratteri utf8 - -- Windows japanese charset encoding problem characters Windows giapponese charset problema di codifica caratteri - -- php charset encoding utf PHP charset codifica UTF - -- DB_CHARSET Wordpress DB_CHARSET Wordpress - -- wordpress change encoding WordPress cambiamento di codifica - -- "WordPress" "charset" "WordPress" "charset" - -- wordpress character support WordPress carattere di sostegno - -- wordpress encoding collation WordPress raccolta di codifica - -- wordpress charset problem WordPress charset problema - -- encoding method used in the wordpress for password metodo di codifica utilizzato nella wordpress per la password - -- wordpress upgrade character encoding problem WordPress aggiornamento problema di codifica dei caratteri - -- wordpress strange characters WordPress caratteri strani - -- charset charset - -- wordpress utf 8 WordPress UTF 8 - -- change wordpress encoding WordPress cambiamento di codifica - -- wordpress upgrade charset WordPress aggiornamento charset - -- wordpress bilingual post korean WordPress bilingue post coreano - -- wordpress text encoding problem WordPress problema codifica di testo - -- DB_COLLATE wordpress DB_COLLATE WordPress - -- info about UTF8&a Info su uno UTF8 & - -- norwegian characters wordpress norvegese caratteri WordPress - -- utf-8 wordpress 2.6 UTF-8 WordPress 2,6 - -- wordpress+charset WordPress + charset - -- wordpress nextpage multilingual WordPress Nextpage multilingue - -- wordpress 2.6 encoding WordPress 2,6 codifica - -- wordpress character WordPress carattere - --