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.


40 Responses to “WordPress Charset Encoding Problem After Upgrading to Version 2.2” 40 Responses to "WordPress Kodavimas Kodavimo problema po atnaujinimo iki versijos 2.2"

Pages: [2] Puslapiai: [2] 1 1 » » Show All Rodyti visus

  1. Snigel.nu – Olle Linge » WordPress updated to version 2.8 Snigel.nu - Olle Linga »WordPress atnaujintas iki versijos 2,8
    July 4th, 2009 05:18 4 liepa 2009 05:18
    40 40

    [...] 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. [...] [...]

  2. babysitter Babysitter
    May 3rd, 2009 11:20 3 gegužė 2009 11:20
    39 39

    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 /

  3. RaiulBaztepo RaiulBaztepo
    March 29th, 2009 05:14 Kovas 29, 2009 05:14
    38 38

    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

  4. Marek Marek
    January 31st, 2009 02:33 31 sausis 2009 02:33
    37 37

    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.

  5. مشاكل الترميز Encoding في Wordpress 2.2 بعد الترقية | سوالف حسن مشاكل الترميز Kodavimas في WordPress 2,2 بعد الترقية | سوالف حسن
    December 23rd, 2008 12:49 23 gruodis 2008 12:49
    36 36

    [...] 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 محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية ... [...]

  6. Tommy Tommy
    October 17th, 2008 13:15 17 spalis 2008 13:15
    35 35

    Thank you for this post! Dėkojame už pranešimą!

  7. Fix odd characters in Wordpress posts | Chris Fay & Jennie Fay's Webportal Fix nelyginis simbolių WordPress Žinutės | Chris & Ginny Fay Fay's Webportal
    September 16th, 2008 10:05 16 rugsėjis 2008 10:05
    34 34

    [...] 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 [...]

  8. Paula G Paula G
    September 6th, 2008 19:50 6 rugsėjis 2008 19:50
    33 33

    Thanks so much — you saved me hours of hair pulling! Thanks so much - Jūs išgelbėjo mane valandas plaukų traukimas!

  9. Ates Goral Ateş Goral
    August 24th, 2008 11:20 24 rugpjūtis 2008 11:20
    32 32

    Thanks! Ačiū! Saved me a lot of time. Išsaugotos man daug laiko.

  10. Rodrigo Rodrigo
    August 23rd, 2008 05:24 23 rugpjūtis 2008 05:24
    31 31

    thanks ačiū

  11. Endolith Endolith
    June 18th, 2008 08:42 18 birželis 2008 08:42
    30 30

    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ą?

  12. Tom Clarke Tom Clarke
    June 6th, 2008 20:56 6 birželis 2008 20:56
    29 29

    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!

  13. Josh Josh
    February 19th, 2008 05:04 19 vasaris 2008 05:04
    28 28

    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?

  14. Marthin Marthin
    February 17th, 2008 03:44 17 vasaris 2008 03:44
    27 27

    thanks for the help, it worked out for me ačiū už pagalbą, viskas išėjo už mane :)

  15. Bruno Silva Bruno Silva
    January 5th, 2008 06:55 5 sausis 2008 06:55
    26 26

    Thx a lot! Thanks a lot!
    You saved me hours! Jūs išgelbėjo mane valandas!

Pages: [2] Puslapiai: [2] 1 1 » » Show All Rodyti visus

Leave a Reply Leave a Reply

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> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

wordpress charset WordPress charset - -- wordpress encoding WordPress kodavimas - -- wordpress character encoding WordPress koduotę - -- wordpress utf8 WordPress utf8 - -- wordpress utf-8 WordPress UTF-8 - -- charset wordpress charset WordPress - -- wordpress encoding problem WordPress koduotės problema - -- wordpress utf-8 problem WordPress UTF-8 problema - -- wordpress change encoding WordPress pakeisti koduotę - -- wordpress rss encoding WordPress RSS kodavimas - -- character encoding wordpress koduotę WordPress - -- encoding wordpress kodavimas WordPress - -- wordpress DB_CHARSET WordPress DB_CHARSET - -- wordpress database encoding WordPress database kodavimas - -- wordpress default charset WordPress numatytąją koduotę - -- wordpress charset problem WordPress Charset problema - -- wordpress apostrophe WordPress Apostrofa - -- change wordpress charset pakeisti WordPress charset - -- wordpress encode WordPress koduoti - -- change wordpress encoding pakeisti WordPress kodavimas - -- wordpress 2.8 utf8 WordPress 2,8 utf8 - -- wordpress change charset WordPress pakeisti charset - -- wordpress quotation marks WordPress kabutės - -- wordpress upgrade utf8 WordPress upgrade utf8 - -- change charset wordpress pakeisti charset WordPress - -- wordpress utf WordPress UTF - -- DB_CHARSET wordpress DB_CHARSET WordPress - -- wordpress strange character carriage returns WordPress keisto pobūdžio vežimui grįžta - -- wordpress change text encoding WordPress pakeisti teksto kodavimą - -- all visi - -- wordpress update encoding WordPress atnaujinimas kodavimas - -- wordpress set encoding WordPress nustatyti koduotę - -- encode wordpress koduoti WordPress - -- utf-8 wordpress UTF-8 WordPress - -- ¿ spanish wordpress characters title Ispanų ¿WordPress simbolių pavadinimą - -- wordpress apostrophe problem WordPress kabutes problema - -- wordpress encoding after upgrade WordPress kodavimas po atnaujinimo - -- wordpress charset WordPress charset - -- charset wordpress 2.7 norwegian charset WordPress 2.7 norvegų - -- wordpress character codification WordPress pobūdžio kodifikavimas - -- wordpress upgrade charset WordPress upgrade charset - -- wordpress questions marks after restore WordPress klausimai ženklų po atstatymo - -- wordpress 2.8 database encoding WordPress 2,8 bazės koduotės - -- UTF-8 encoding wordpress UTF-8 koduotę WordPress - -- strange characters wordpress Keista simbolių WordPress - -- wordpress character problem WordPress pobūdžio problemą - -- wordpress title utf8 WordPress pavadinimas utf8 - -- wordpress + charset WordPress + charset - -- wordpress upgrade encoding WordPress upgrade kodavimas - -- worpress showing wrong character worpress rodo neteisingą pobūdis - --