WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPress charset Encoding Problem Pēc Upgrading to 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 blogus, kas uzlaboti, lai WordPress versija 2,2 var sastapties dīvaini rakstzīmju kopu (charset), kas kodē problēmu, kad vairākas rakstzīmes, īpaši apostrophes ( "), pēdiņās ("), un defisēm vai defises (-) tiek parādīti kā dīvaini rakstzīmēm, piemēram, â € ™ vai vienkārši kā jautājuma zīmes (?), kad amati ir izeja uz interneta lapām. As you have probably suspected, the issue is caused by character encoding method used by Kā jums ir, iespējams, ir aizdomas, jautājums ir izraisījis rakstzīmju kodēšanas metode, ko WordPress 2.2 which supports setting of database collation and character set WordPress 2,2, kas atbalsta nosakot datubāzē salīdzinājumu un rakstzīmju kopa in WordPress config file. in WordPress config file.

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. Kļūda notiek, jo līdz pat un ieskaitot WordPress ver 2.1.3 gandrīz visas WordPress datu bāzes tika izveidotas, izmantojot latin1 rakstzīmju kopu un latin1_swedish_ci salīdzināšanai. 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. Sākums WordPress v2.2, WordPress, lietotājs var definēt gan datu bāzē rakstzīmju kopu un apkopošanu jo wp-config.php failu, izmantojot DB_CHARSET un DB_COLLATE vērtības. 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. Ar šīm vērtībām, uz citu kodēšanas, WordPress pieņem, ka datu bāzes ir patiešām izmantojot charset un salīdzināšanu pārāk, ja tas nav attiecībā uz esošo WordPress uzstādīšana. 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. Tātad, ja jūs pārkārtošanās WordPress līdz 2.2, izmantojot noklusējuma wp-config.php, vai ir roku modificētu failu, lai iekļautu jaunu mainīgie, vai modernizāciju, izmantojot Fantastico, kas automātiski atjauno wp-config.php failu, lai iekļautu šos divas definīcijas kas vērtībām, kā Unicode UTF-8 pēc noklusējuma, jums būs nepieciešama, lai novērstu šīs definīcijas, lai atrisinātu rakstzīmju kodēšanas kļūdas.

Open and edit your WordPress wp-config.php file. Atvērt un rediģēt savu WordPress wp-config.php file. Then locate the following two lines: Pēc tam atrodiet šādas divas rindiņas:

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 varat vienkārši izdzēst šīs 2 līnijām attālumā, vai arī izņemt UTF8 no pirmā līnija, lai tās izskatās šādi:

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 un salīdzināšanu ar vērtībām, kas noteiktas, WordPress būs atpakaļ uz veco noklusējuma, latin1 kas sakrīt ar datubāzēm.

A possible better solution is A iespējams, labāks risinājums ir convert the Wordpress database to UTF8 Unicode pārveidot WordPress datu bāzi, lai UTF8 Unicode . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


40 Responses to “WordPress Charset Encoding Problem After Upgrading to Version 2.2” 40 Atbildes uz "WordPress charset Encoding Problem Pēc Upgrading uz Version 2.2"

Pages: [2] Lapas: [2] 1 1 » » Show All Rādīt visas

  1. Snigel.nu – Olle Linge » WordPress updated to version 2.8 Snigel.nu - Olle Linge »WordPress atjaunina, lai versija 2,8
    July 4th, 2009 05:18 4 jūlijs, 2009 05:18
    40 40

    [...] Update: Chinese and Swedish alike should be displayed properly now. [...] Update: Ķīnas un zviedru tāpat vajadzētu parādīties pareizi tagad. 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ēma rodas tad, kad pāriet uz jauno versiju, kas WorpPress, bet, mainot dažus parametrus, tas ir iespējams let WordPress atgriezties uz veco ceļu apstrādes charactersets. The solution to the problem can be found here. Risinājums šai problēmai var atrast šeit. [...] [...]

  2. babysitter Aukle
    May 3rd, 2009 11:20 Maijs 3, 2009 11:20
    39 39

    I solved following these steps: I atrisināt šādus soļus:
    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 Marts 29, 2009 05:14
    38 38

    Hello! Sveiki!
    Very Interesting post! Ļoti interesanti pastu! Thank you for such interesting resource! Paldies par šādu interesants resurss!
    PS: Sorry for my bad english, I'v just started to learn this language PS: Sorry for my bad english, I'v tikko sākuši mācīties šo valodu ;)
    See you! Atā!
    Your, Raiul Baztepo Jūsu, Raiul Baztepo

  4. Marek Marek
    January 31st, 2009 02:33 Janvāris 31, 2009 02:33
    37 37

    Thank you a lot! Thank you a lot! It worked out perfectly. Tā izstrādāta perfekti. Now, I have to convert everything to UTF8. Tagad, man ir, lai pārvērstu viss UTF8.

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

    [...] WordPress Charset Encoding Problem After Upgrading to Version 2.2 اقرأ المزيد عن …أهلا 2.5، ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2.5 من ووردبريس، وكل…ما الجديد! [...] WordPress charset Encoding Problem Pēc Upgrading to Versija 2,2 اقرأ المزيد عن ... أهلا 2.5, ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2,5 من ووردبريس, وكل ... ما الجديد! تم اصدار نسخة جديدة من برنامج ووردبريس، وكما ذكر في…WYSI-Wordpress محرر نصوص متقدم Wysi-Wordpress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية… [...] تم اصدار نسخة جديدة من برنامج ووردبريس, وكما ذكر في ... WYSI-WordPress محرر نصوص متقدم Wysi-WordPress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية ... [...]

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

    Thank you for this post! Paldies par šo ziņu!

  7. Fix odd characters in Wordpress posts | Chris Fay & Jennie Fay's Webportal Fix nepāra rakstzīmes WordPress amati | Chris Fay & Jennie Fay's Webportal
    September 16th, 2008 10:05 Septembris 16, 2008 10:05
    34 34

    [...] caused due to the encoding and collation, however after following the recommendations of sites like [...] Izraisīja sakarā ar šifrēšanu un apkopošanu, tomēr pēc tam, kad pēc ieteikumiem vietās, piemēram, http://www.mydigitallife.info/2007/0…to-version-22/ http://www.mydigitallife.info/2007/0 ... to-version-22 / I was still unable to get rid of the huge amount of garbled characters. Es vēl joprojām nespēj atbrīvoties no liels garbled rakstzīmes. Ultimately, I spent some [...] Galu galā, es pavadīju apmēram [...]

  8. Paula G Paula G
    September 6th, 2008 19:50 Septembris 6, 2008 19:50
    33 33

    Thanks so much — you saved me hours of hair pulling! Thanks so much - Jūs saglabātos mani stundas matu nostiepes!

  9. Ates Goral Ates Goral
    August 24th, 2008 11:20 Augusts 24, 2008 11:20
    32 32

    Thanks! Pateicība! Saved me a lot of time. Saglabātās man daudz laika.

  10. Rodrigo Rodrigo
    August 23rd, 2008 05:24 Augusts 23, 2008 05:24
    31 31

    thanks pateicība

  11. Endolith Endolith
    June 18th, 2008 08:42 Jūnijs 18, 2008 08:42
    30 30

    Isn't UTF8 much better? Vai nav UTF8 daudz labāks? Why would you limit yourself to Latin1 just because it used to be the default? Kāpēc jūs ierobežot sevi, lai Latin1 tikai tāpēc, ka tā izmanto, ir default?

  12. Tom Clarke Tom Clarke
    June 6th, 2008 20:56 Jūnijs 6, 2008 20:56
    29 29

    Just wanted to say: this had afflicted me for months. Vienkārši gribēju teikt: tas bija nomocīts mani mēneši. Never found a workable solution. Nekad atradis praktisku risinājumu. Stumbled on your site today and it worked perfectly. Stumbled jūsu vietnē šodien, un tā strādāja perfekti. Thanks so much! Thanks so much!

  13. Josh Izzobot
    February 19th, 2008 05:04 Februāris 19, 2008 05:04
    28 28

    Hi, thanks for doing this. Hi, thanks, kā to izdarīt. it's the only thing I've found. tā ir vienīgā lieta, I've found. I remove the utf8 and a lot of my posts still have the question marks. I noņemiet UTF8 un daudz manu amati joprojām ir jautājuma zīmes. any ideas what I may need to do? jebkuras idejas, ko es, iespējams, vajadzēs darīt?

  14. Marthin Marthin
    February 17th, 2008 03:44 Februāris 17, 2008 03:44
    27 27

    thanks for the help, it worked out for me Paldies par palīdzību, tā izstrādāta man :)

  15. Bruno Silva Bruno Silva
    January 5th, 2008 06:55 5 janvāris, 2008 06:55
    26 26

    Thx a lot! Thx a lot!
    You saved me hours! Jūs saglabātos mani stundas!

Pages: [2] Lapas: [2] 1 1 » » Show All Rādīt visas

Leave a Reply Atstāj atbildi

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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

wordpress charset WordPress charset - -- wordpress encoding WordPress encoding - -- wordpress character encoding WordPress rakstzīmju kodējumu - -- wordpress utf8 WordPress UTF8 - -- wordpress utf-8 WordPress utf-8 - -- charset wordpress charset WordPress - -- wordpress encoding problem WordPress kodējumu problēmu - -- wordpress change encoding WordPress mainīt encoding - -- wordpress encode WordPress šifrēt - -- change wordpress encoding mainīt WordPress encoding - -- wordpress change charset WordPress mainīt charset - -- wordpress utf-8 problem WordPress utf-8 problēma - -- encoding wordpress encoding WordPress - -- wordpress change text encoding WordPress mainītu teksta kodējums - -- wordpress upgrade utf8 WordPress jauninājums UTF8 - -- change charset wordpress mainīt charset WordPress - -- wordpress default charset WordPress default charset - -- ¿ spanish wordpress characters title ¿Spāņu WordPress rakstzīmes virsraksts - -- charset wordpress 2.7 norwegian charset WordPress 2,7 norvēģu - -- wordpress text encoding WordPress teksta kodējums - -- wordpress character encoding import export WordPress rakstzīmju kodējumu Import Export - -- WordPress define('DB_CHARSET', 'utf8'); WordPress define ( 'DB_CHARSET "," UTF8'); - -- wordpress search characters åäö WordPress meklēt rakstzīmes åäö - -- wordpress japanese encoding WordPress japāņu encoding - -- wordpress utf8 problem WordPress UTF8 problēmu - -- change wordpress charset mainīt WordPress charset - -- wordpress rss encoding WordPress rss encoding - -- worpress encoding admin worpress encoding admin - -- change charset encoding mainīt charset encoding - -- wordpress upgrade UTF-8 acentos WordPress jauninājums UTF-8 acentos - -- wordpress convert post encoding WordPress pārvērst post encoding - -- wordpress 2.8 utf8 WordPress 2,8 UTF8 - -- all viss - -- wordpress set encoding WordPress, kas encoding - -- wordpress encoding charset WordPress kodējums charset - -- how to set utf-8 encoding wordpress to, kā UTF-8 kodējumā WordPress - -- wordpress update chartset problem WordPress update chartset problēmu - -- wordpress 2.8 and character encoding WordPress 2.8 un rakstzīmju kodējumu - -- wordpress database encoding WordPress datubāzē encoding - -- wordpress use charset WordPress izmantot charset - -- wp config charset question marks wp config charset jautājuma zīmes - -- href japan encoding problem href Japāna kodējumu problēmu - -- wordpress charset problem questions marks WordPress charset problēmu jautājumus zīmes - -- wordpress database charset WordPress datubāzē charset - -- serbian character encoding for wordpress blog serbu rakstzīmju kodējumu par WordPress blog - -- wordpress quotation marks WordPress pēdiņas - -- wordpress 2.8 upgrade encoding WordPress 2,8 jauninājums encoding - -- wordpress characterset WordPress characterset - -- åäö wordpress utf8 åäö WordPress UTF8 - -- commas making strange characters on wordpress komatiem pieņemšanas dīvaini Zīmes WordPress - --