WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPress Kodavimas Kodavimo problema po atnaujinimo į Versija 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, kad atnaujintas iki versijos 2.2 WordPress gali susidurti su keista simbolių rinkinį (simbolių rinkinys), kodavimo problemos, kai keli personažai, ypač kabutes ( ") kabutėmis (") ir brūkšneliai ar brūkšneliai (-) rodomi kaip keista, simbolių, tokių kaip â € ™ arba tiesiog kaip klaustukai (?), kai vietos yra išėjimas į interneto puslapius. As you have probably suspected, the issue is caused by character encoding method used by Kaip Jūs tikriausiai įtariama, klausimas sukelia simbolių kodavimo metodas WordPress 2.2 which supports setting of database collation and character set WordPress 2,2 kuris palaiko nustatymo duomenų lyginimą ir simbolių rinkinys in WordPress config file. į WordPress konfigūracijos failo.
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. Klaida atsitinka, nes iki ir įskaitant "WordPress ver 2.1.3, beveik visi WordPress bazės buvo sukurtos naudojant latin1 character set ir latin1_swedish_ci lyginimas. 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. Pradžia v2.2 WordPress, WordPress leidžia vartotojui nustatyti ir duomenų bazės simbolių rinkinį ir į wp-config.php failą lyginimas, naudojantis DB_CHARSET ir DB_COLLATE vertybes. 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. Šių verčių, nustatytų į kitą koduotę, WordPress mano, kad duomenų bazės yra iš tikrųjų naudoti kodavimas ir lyginimas taip pat, jei tai nėra galiojančių WordPress diegimo bylą. 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. Taigi, jeigu jūs atnaujinate "WordPress 2,2, naudojant numatytuosius wp-config.php arba rankiniu būdu pakeisti failą įtraukti nauji kintamieji, arba modernizavimas naudojant Fantastico kuris automatiškai atnaujina wp-config.php failą būtų įtraukti šie du apibrėžimai kuris nustatytas vertes kaip Unicode UTF-8 pagal nutylėjimą, jums reikia ištrinti šiuos apibrėžimus, išspręsti simbolių kodavimo klaida.
Open and edit your WordPress wp-config.php file. Atidaryti ir redaguoti savo "WordPress WP-config.php failą. Then locate the following two lines: Raskite šias dvi eilutes:
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: Jūs galite tiesiog ištrinkite šias 2 eilutes toli, arba tiesiog ištrinti utf8 iš pirmos eilutės, kad jie atrodo taip:
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. Be charset ir lyginimas vertes, WordPress teks grįžti prie senojo nutylėjimą latin1, kuri atitiko duomenų bazių.
A possible better solution is Įmanoma geriau tirpalas convert the Wordpress database to UTF8 Unicode konvertuoti WordPress database to UTF8 "Unicode . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- How to Convert Character Set and Collation of WordPress Database Kaip konvertuoti simbolių ir lyginimas WordPress database
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) Automatiškai atnaujinti WordPress naujausia versija su automatinio atnaujinimo modulis (WPAU)
- Download Previous or Old Version of WordPress Atsisiųsti Ankstesnė arba seną versiją WordPress
- Latest Version of WordPress 2.3.1 Released Paskutinė versija WordPress 2.3.1 Released
- WordPress 2.2 Released for Free Download WordPress 2,2 laisvą Parsisiųsti
- How to Customize, Modify or Change WordPress Database Connection Error Page Kaip pritaikyti, pakeisti ar pakeisti WordPress Database Connection Error puslapis
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Išjungti ir išjungti Rašyti Atnaujinimai stebėjimas Wordpress 2.6 ar aukščiau
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Kiekių arba neskaldytos WordPress Siųsti puslapį arba su Nextpage į WordPress neveikia
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Kaip pakeisti dažnį arba intervalas WordPress Auto Sutaupo redagavimas pašto ar Puslapis
- How to Move WordPress Blog to New Domain or Location Kaip perkelti WordPress blog Naujas Domenas arba URL










































July 4th, 2009 05:18 4 liepa 2009 05:18
[...] Update: Chinese and Swedish alike should be displayed properly now. [...] Paskutinį kartą atnaujinta: kinų ir švedų tiek turi būti tinkamai rodomi dabar. 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. Problema kyla tada, kai perėjimas prie naujos versijos WorpPress, bet pakeitus keletą parametrų, yra galimybė leisti WordPress grįžti prie senojo būdas tvarkymo charactersets. The solution to the problem can be found here. Išspręsti šią problemą galima rasti čia. [...] [...]
May 3rd, 2009 11:20 3 gegužė 2009 11:20
I solved following these steps: Aš išspręsti šiuos veiksmus:
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-A-utf-8 /
March 29th, 2009 05:14 Kovas 29, 2009 05:14
Hello! Labas!
Very Interesting post! Very interesting paštu! Thank you for such interesting resource! Dėkojame, kad tokie įdomūs šaltinį!
PS: Sorry for my bad english, I'v just started to learn this language PS: Atsiprašau už mano blogą anglų, I'v tik pradėjo mokytis šios kalbos
See you! Iki greito!
Your, Raiul Baztepo Jūsų, Raiul Baztepo
January 31st, 2009 02:33 31 sausis 2009 02:33
Thank you a lot! Thank you a lot! It worked out perfectly. Viskas išėjo puikiai. Now, I have to convert everything to UTF8. Dabar turiu konvertuoti viską į utf8.
December 23rd, 2008 12:49 23 gruodis 2008 12:49
[...] WordPress Charset Encoding Problem After Upgrading to Version 2.2 اقرأ المزيد عن …أهلا 2.5، ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2.5 من ووردبريس، وكل…ما الجديد! [...] WordPress Kodavimas Kodavimo problema po atnaujinimo iki versijos 2,2 اقرأ المزيد عن ... أهلا 2.5, ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2,5 من ووردبريس, وكل ... ما الجديد! تم اصدار نسخة جديدة من برنامج ووردبريس، وكما ذكر في…WYSI-Wordpress محرر نصوص متقدم Wysi-Wordpress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية… [...] تم اصدار نسخة جديدة من برنامج ووردبريس, وكما ذكر في ... WYSI-WordPress محرر نصوص متقدم Wysi-WordPress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية ... [...]
October 17th, 2008 13:15 17 spalis 2008 13:15
Thank you for this post! Dėkojame už pranešimą!
September 16th, 2008 10:05 16 rugsėjis 2008 10:05
[...] caused due to the encoding and collation, however after following the recommendations of sites like [...] Sukėlė dėl kodavimo ir lyginimą, tačiau po šių svetainių, pavyzdžiui, rekomendacijos http://www.mydigitallife.info/2007/0…to-version-22/ http://www.mydigitallife.info/2007/0 ... iki-Version-22 / I was still unable to get rid of the huge amount of garbled characters. Aš vis dar negali atsikratyti didžiulis iškraipytas simboliai. Ultimately, I spent some [...] Galų gale, aš praleido šiek tiek [...]
September 6th, 2008 19:50 6 rugsėjis 2008 19:50
Thanks so much — you saved me hours of hair pulling! Thanks so much - Jūs išgelbėjo mane valandas plaukų traukimas!
August 24th, 2008 11:20 24 rugpjūtis 2008 11:20
Thanks! Ačiū! Saved me a lot of time. Išsaugotos man daug laiko.
August 23rd, 2008 05:24 23 rugpjūtis 2008 05:24
thanks ačiū
June 18th, 2008 08:42 18 birželis 2008 08:42
Isn't UTF8 much better? Ar ne UTF8 daug geriau? Why would you limit yourself to Latin1 just because it used to be the default? Kodėl jūs apriboti save Latin1 tik todėl, kad turi būti naudojamas pagal nutylėjimą?
June 6th, 2008 20:56 6 birželis 2008 20:56
Just wanted to say: this had afflicted me for months. Tiesiog norėjau pasakyti: tai buvo kenčia mane mėnesius. Never found a workable solution. Niekada rasti veiksmingą sprendimą. Stumbled on your site today and it worked perfectly. Suklupo savo svetainės šiandien, ir ji veikė puikiai. Thanks so much! Thanks so much!
February 19th, 2008 05:04 19 vasaris 2008 05:04
Hi, thanks for doing this. Hi, Thanks for doing this. it's the only thing I've found. tai vienintelis dalykas, I've found. I remove the utf8 and a lot of my posts still have the question marks. Pašalinti utf8 ir mano pranešimų daug dar klaustukai. any ideas what I may need to do? idėjų, ką gali daryti?
February 17th, 2008 03:44 17 vasaris 2008 03:44
thanks for the help, it worked out for me ačiū už pagalbą, viskas išėjo už mane
January 5th, 2008 06:55 5 sausis 2008 06:55
Thx a lot! Thanks a lot!
You saved me hours! Jūs išgelbėjo mane valandas!