WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPress Kódovanie Kódovanie Problem po upgrade na verziu 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 blogs, že upgrade na verziu Wordpress 2.2 sa môžu stretnúť s cudzou znakovú sadu (charset) kódovanie problém, keď niekoľko postáv, najmä apostrofmi ( '), úvodzovky ( "), a pomlčiek alebo pomlčiek (-) sa zobrazí ako podivné znaky ako â € ™ alebo jednoducho ako otázniky (?), kedy sú stĺpiky výstup na webových stránkach. As you have probably suspected, the issue is caused by character encoding method used by Ako ste asi podozrenie, že je problém spôsobený kódovania znakov, používa metódu WordPress 2.2 which supports setting of database collation and character set WordPress 2.2, ktorý podporuje nastavenie databázy, zber a znakovej sady in WordPress config file. WordPress v konfiguračnom súbore.
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. Chyba sa stane, pretože až do ver WordPress 2.1.3, takmer všetky WordPress databázy boli vytvorené pomocou latin1 znakovej sady a radenie 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. V2.2 začiatku WordPress, WordPress umožňuje užívateľovi definovať aj databázy znakovú sadu a radenie vo wp-config.php pomocou DB_CHARSET a DB_COLLATE hodnoty. 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. Sa tieto hodnoty nastavené na iné kódovanie, WordPress predpokladá, že databázy sú skutočne pomocou znakovej sady a radenie taky, kde to nie je dôvod pre existujúcu inštaláciu WordPress. 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. Takže ak ste upgrade na WordPress 2.2 s predvoleným wp-config.php, alebo ručne zmenený súbor zahrnúť nové premenné alebo upgradu pomocou Fantastico, ktorý sa automaticky aktualizuje wp-config.php archív zahrnúť tieto dve definície aké hodnoty nastaviť ako Unicode UTF-8 v predvolenom nastavení, budete musieť odstrániť tieto definície vyriešiť kódovania znakov chybu.
Open and edit your WordPress wp-config.php file. Otvoriť a upraviť WordPress wp-config.php archív. Then locate the following two lines: Nájsť potom tieto dva riadky:
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: Môžete jednoducho vymazať tieto 2 riadky preč, alebo len odstrániť utf8 z prvej línie, aby sa im vyzerá nasledovne:
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. Bez charset a zostavovanie stanovených hodnôt, budú WordPress klesnúť späť do starých predvolené, latin1, ktoré zodpovedali databáz.
A possible better solution is Lepším riešením je možné convert the Wordpress database to UTF8 Unicode previesť databázu Wordpress UTF8 Unicode . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.
Related Articles Súvisiace články
- How to Convert Character Set and Collation of WordPress Database Ako Znaková sada Konvertita a Zber WordPress databázy
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) Automaticky aktualizovať na najnovšiu verziu WordPress s Automatický Aktualizovať Čep (WPAU)
- Download Previous or Old Version of WordPress Stiahnuť Predchádzajúci alebo starú verziu WordPress
- Latest Version of WordPress 2.3.1 Released Najnovšie Líčenie of WordPress 2.3.1 Cenzurní povolenie
- WordPress 2.2 Released for Free Download WordPress 2.2 Cenzurní povolenie do Drzý Zavádzanie
- How to Customize, Modify or Change WordPress Database Connection Error Page Ako prispôsobiť, upraviť alebo zmeniť WordPress Database Connection Error Page
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Oslabiť a Zastavenie toku po Revízia Monitorovanie do WordPress 2.6 či Nad
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating alebo Split WordPress Post alebo stránky s NextPage do WordPress Nie Činnosť
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Ako meniť frekvenciu alebo Interval WordPress Auto Šetrí Úprava pošty alebo Page
- How to Move WordPress Blog to New Domain or Location Ako Move WordPress Blog až novej domény alebo miesto










































July 4th, 2009 05:18 4.července 2009 05:18
[...] Update: Chinese and Swedish alike should be displayed properly now. [...] Aktualizovať: čínština a švédčina rovnaké, by mali byť zobrazené správne teraz. The problem arises when converting to new versions of WorpPress, but by changing a few parameters, it's possible to let WordPress revert to the old way of handling charactersets. Problém vzniká pri premene na nové verzie WorpPress, ale úpravou niekoľkých parametrov, je možné nechať WordPress vrátiť k starému spôsobu spracovania charactersets. The solution to the problem can be found here. Riešenie tohto problému možno nájsť tu. [...] [...]
May 3rd, 2009 11:20 3.května 2009 11:20
I solved following these steps: Ja vyriešil nasledujúcim spôsobom:
http://www.levysoft.it/archivio/2007/07/06/risolvere-il-problema-della-visualizzazione-errata-dei-caratteri-accentati-su-wordpress-cambiando-il-charset-da-iso-8859-a-utf-8/ http://www.levysoft.it/archivio/2007/07/06/risolvere-il-problema-della-visualizzazione-errata-dei-caratteri-accentati-su-wordpress-cambiando-il-charset-da-iso- 8859 - UTF-8 /
March 29th, 2009 05:14 29. marca 2009 05:14
Hello! Ahoj!
Very Interesting post! Veľmi zaujímavé miesto! Thank you for such interesting resource! Vďaka za taký zaujímavý zdroj!
PS: Sorry for my bad english, I'v just started to learn this language PS: Sorry for my bad angličtina, I'v práve začali učiť tento jazyk
See you! Nazdar!
Your, Raiul Baztepo Vaša, Raiul Baztepo
January 31st, 2009 02:33 31.januára 2009 02:33
Thank you a lot! Thank you a lot! It worked out perfectly. To fungovalo perfektne. Now, I have to convert everything to UTF8. Teraz som si všetko previesť na UTF8.
December 23rd, 2008 12:49 23.prosince 2008 12:49
[...] WordPress Charset Encoding Problem After Upgrading to Version 2.2 اقرأ المزيد عن …أهلا 2.5، ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2.5 من ووردبريس، وكل…ما الجديد! [...] WordPress Kódovanie Kódovanie Problem po upgrade na verziu 2.2 اقرأ المزيد عن ... أهلا 2.5, ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2,5 من ووردبريس, وكل ... ما الجديد! تم اصدار نسخة جديدة من برنامج ووردبريس، وكما ذكر في…WYSI-Wordpress محرر نصوص متقدم Wysi-Wordpress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية… [...] تم اصدار نسخة جديدة من برنامج ووردبريس, وكما ذكر في ... WYSI-Wordpress محرر نصوص متقدم Wysi-Wordpress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية ... [...]
October 17th, 2008 13:15 17.říjen 2008 13:15
Thank you for this post! Ďakujem vám za tento príspevok!
September 16th, 2008 10:05 16.září 2008 10:05
[...] caused due to the encoding and collation, however after following the recommendations of sites like [...] Spôsobil dôvodu kódovania a radenie, však potom, čo na základe odporúčania lokalít, ako je http://www.mydigitallife.info/2007/0…to-version-22/ http://www.mydigitallife.info/2007/0 ... na-verziu-22 / I was still unable to get rid of the huge amount of garbled characters. Stále som nemohol zbaviť obrovského množstva poškodenými znaky. Ultimately, I spent some [...] Nakoniec som strávil niekoľko [...]
September 6th, 2008 19:50 6.září 2008 19:50
Thanks so much — you saved me hours of hair pulling! Díky moc - ste ma zachránil hodín vytrhávanie chlpov!
August 24th, 2008 11:20 24.srpen 2008 11:20
Thanks! Vďaka! Saved me a lot of time. Zachránený mne množstvo of Time.
August 23rd, 2008 05:24 23.srpen 2008 05:24
thanks vďaka
June 18th, 2008 08:42 18.Júna 2008 08:42
Isn't UTF8 much better? Nie je UTF8 oveľa lepšie? Why would you limit yourself to Latin1 just because it used to be the default? Prečo by si sami na hranici Latin1 len preto, že používa ako predvolené?
June 6th, 2008 20:56 6.června 2008 20:56
Just wanted to say: this had afflicted me for months. Len chcel povedať: to bolo pre mňa postihla mesiacov. Never found a workable solution. Nikdy nenaslo prijateľným riešením. Stumbled on your site today and it worked perfectly. Narazil na vašich stránkach dnes a ono pracoval dokonale. Thanks so much! Thanks so much!
February 19th, 2008 05:04 19. februára 2008 05:04
Hi, thanks for doing this. Hi, thanks for doing this. it's the only thing I've found. je to jediná vec, ktorú som našiel. I remove the utf8 and a lot of my posts still have the question marks. Odstrániť utf8 a veľa mojich miest ešte otázniky. any ideas what I may need to do? nejaké nápady, čo môžem robiť?
February 17th, 2008 03:44 17.februára 2008 03:44
thanks for the help, it worked out for me vďaka za pomoc, to fungovalo pre mňa
January 5th, 2008 06:55 5.ledna 2008 06:55
Thx a lot! Thx a lot!
You saved me hours! Tebe zachránený mne hodín!