WordPress Charset Encoding Problem After Upgrading to Version 2.2 Wordpress Charset Encoding Soal Setelah Upgrade ke Versi 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 yang upgrade ke Wordpress versi 2,2 dapat mengalami karakter aneh set (charset) masalah pengkodean di mana beberapa karakter terutama apostrof ( '), tanda kutip ( "), dan tanda hubung atau tanda hubung (-) ditampilkan sebagai karakter aneh seperti â € ™ atau hanya sebagai tanda tanya (?) ketika posting adalah output untuk halaman web. As you have probably suspected, the issue is caused by character encoding method used by Seperti Anda mungkin menduga, masalah ini disebabkan oleh metode pengkodean karakter yang digunakan oleh WordPress 2.2 which supports setting of database collation and character set Wordpress 2,2 yang mendukung database pengaturan pemeriksaan dan karakter set in WordPress config file. di Wordpress file config.
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. Kesalahan terjadi karena sampai dengan dan termasuk ver Wordpress 2.1.3, hampir semua database Wordpress diciptakan dengan menggunakan character set latin1 dan collation 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. Mulai Wordpress v2.2, Wordpress memungkinkan pengguna untuk menentukan database baik karakter set dan pemeriksaan di wp-config.php, menggunakan DB_COLLATE DB_CHARSET dan nilai-nilai. 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. Dengan nilai-nilai ini disetel ke penyandian yang lain, Wordpress mengasumsikan bahwa database memang menggunakan charset dan pemeriksaan juga, di mana itu tidak berlaku untuk instalasi Wordpress yang ada. 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. Jadi, jika Anda upgrade WordPress untuk menggunakan default 2,2 wp-config.php, atau file secara manual dimodifikasi untuk menyertakan variabel-variabel baru, atau upgrade dengan menggunakan Fantastico yang secara otomatis memperbarui file wp-config.php untuk memasukkan kedua definisi nilai-nilai yang ditetapkan sebagai Unicode UTF-8 secara default, Anda akan perlu menghapus definisi ini untuk memecahkan penyandian karakter kesalahan.
Open and edit your WordPress wp-config.php file. Buka dan mengedit Wordpress wp-config.php. Then locate the following two lines: Kemudian cari dua baris berikut:
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: Anda dapat menghapus 2 baris ini pergi, atau hanya menghapus utf8 dari baris pertama untuk membuat mereka terlihat seperti ini:
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. Tanpa charset dan nilai-nilai pemeriksaan ditetapkan, WordPress akan jatuh kembali ke standar yang lama, latin1 yang sesuai dengan database.
A possible better solution is Salah satu kemungkinan solusi yang lebih baik adalah convert the Wordpress database to UTF8 Unicode mengkonversi database Wordpress UTF8 Unicode . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- How to Convert Character Set and Collation of WordPress Database Cara Mengkonversi Character Set dan Kolasi dari Wordpress Database
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) Update secara otomatis Wordpress ke Versi terbaru dengan Automatic Upgrade Plugin (WPAU)
- Download Previous or Old Version of WordPress Download Sebelumnya atau Old Version of Wordpress
- Latest Version of WordPress 2.3.1 Released Versi terbaru dari Wordpress 2.3.1 Released
- WordPress 2.2 Released for Free Download Wordpress 2,2 Diluncurkan for Free Download
- How to Customize, Modify or Change WordPress Database Connection Error Page Cara Customize, Memodifikasi atau Ubah Wordpress Koneksi Database Error Page
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Nonaktifkan dan Nonaktifkan Pelacakan Revisi Posting di WordPress 2.6 atau Above
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Wordpress Paginating atau Split Post atau Page dengan Nextpage di Wordpress Not Working
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Bagaimana Mengubah Frekuensi atau Interval WordPress Auto Saves An Editing Post atau Page
- How to Move WordPress Blog to New Domain or Location Bagaimana Wordpress Blog Pindah ke New Domain atau Lokasi










































November 11th, 2009 16:54 11 November 2009 16:54
I had a similar problem with a wp update but sorted it out alright. Aku punya masalah yang sama dengan wp update tetapi diurutkan itu baik-baik saja. Think I did the update the wp database to UTF8 Unicode. Pikir saya melakukan update database untuk wp UTF8 Unicode.
July 4th, 2009 05:18 4 Juli 2009 05:18
[...] Update: Chinese and Swedish alike should be displayed properly now. [...] Update: Cina dan Swedia sama-sama harus ditampilkan dengan benar sekarang. 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. Masalah muncul ketika mengkonversi ke WorpPress versi baru, tetapi dengan mengubah beberapa parameter, mungkin untuk membiarkan Wordpress kembali ke cara lama menangani charactersets. The solution to the problem can be found here. Solusi untuk masalah dapat ditemukan di sini. [...] [...]
May 3rd, 2009 11:20 3 Mei 2009 11:20
I solved following these steps: Aku memecahkan mengikuti langkah berikut:
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 29 Maret 2009 05:14
Hello! Halo!
Very Interesting post! Sangat menarik post! Thank you for such interesting resource! Terima kasih atas seperti sumber daya yang menarik!
PS: Sorry for my bad english, I'v just started to learn this language PS: Maaf untuk inggris buruk, I'v baru saja mulai belajar bahasa ini
See you! Sampai jumpa!
Your, Raiul Baztepo Anda, Raiul Baztepo
January 31st, 2009 02:33 31 Januari 2009 02:33
Thank you a lot! Terima kasih banyak! It worked out perfectly. Itu bekerja dengan sempurna. Now, I have to convert everything to UTF8. Sekarang, aku harus mengubah segalanya untuk UTF8.
December 23rd, 2008 12:49 23 Desember 2008 12:49
[...] WordPress Charset Encoding Problem After Upgrading to Version 2.2 اقرأ المزيد عن …أهلا 2.5، ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2.5 من ووردبريس، وكل…ما الجديد! [...] Wordpress Charset Encoding Soal Setelah Upgrade ke Versi 2,2 اقرأ المزيد عن ... أهلا 2.5, ومرة أخرى مشكلة الترميز بحمدالله تم الانتقال إلى النسخة الحديثة 2,5 من ووردبريس, وكل ... ما الجديد! تم اصدار نسخة جديدة من برنامج ووردبريس، وكما ذكر في…WYSI-Wordpress محرر نصوص متقدم Wysi-Wordpress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية… [...] تم اصدار نسخة جديدة من برنامج ووردبريس, وكما ذكر في ... WYSI-Wordpress محرر نصوص متقدم Wysi-Wordpress محرر تنسيق المدونات لمن يريد اختيارات أكثر و حرية ... [...]
October 17th, 2008 13:15 17 Oktober 2008 13:15
Thank you for this post! Terima kasih untuk posting ini!
September 16th, 2008 10:05 16 September 2008 10:05
[...] caused due to the encoding and collation, however after following the recommendations of sites like [...] Disebabkan karena encoding dan pemeriksaan, namun setelah mengikuti rekomendasi situs-situs seperti http://www.mydigitallife.info/2007/0…to-version-22/ http://www.mydigitallife.info/2007/0 ... untuk-versi-22 / I was still unable to get rid of the huge amount of garbled characters. Aku masih tidak dapat menyingkirkan jumlah besar karakter yang membingungkan. Ultimately, I spent some [...] Akhirnya, aku menghabiskan beberapa [...]
September 6th, 2008 19:50 September 6, 2008 19:50
Thanks so much — you saved me hours of hair pulling! Thanks so much - Anda menyelamatkan saya jam rambut menarik!
August 24th, 2008 11:20 24 Agustus 2008 11:20
Thanks! Terima kasih! Saved me a lot of time. Menyelamatkan saya banyak waktu.
August 23rd, 2008 05:24 23 Agustus 2008 05:24
thanks terima kasih
June 18th, 2008 08:42 18 Juni 2008 08:42
Isn't UTF8 much better? Bukankah UTF8 jauh lebih baik? Why would you limit yourself to Latin1 just because it used to be the default? Mengapa Anda membatasi diri Anda untuk latin1 hanya karena digunakan untuk menjadi default?
June 6th, 2008 20:56 6 Juni 2008 20:56
Just wanted to say: this had afflicted me for months. Hanya ingin mengatakan: ini telah menimpa saya selama berbulan-bulan. Never found a workable solution. Tak pernah menemukan solusi yang bisa diterapkan. Stumbled on your site today and it worked perfectly. Tersandung di situs Anda hari ini dan itu bekerja dengan sempurna. Thanks so much! Thanks so much!
February 19th, 2008 05:04 19 Februari 2008 05:04
Hi, thanks for doing this. Hi, terima kasih untuk melakukan ini. it's the only thing I've found. itu satu-satunya hal yang saya temukan. I remove the utf8 and a lot of my posts still have the question marks. Aku menghapus utf8 dan banyak posting saya masih memiliki tanda tanya. any ideas what I may need to do? ide apa yang saya harus lakukan?
February 17th, 2008 03:44 17 Februari 2008 03:44
thanks for the help, it worked out for me terima kasih atas bantuan, itu berhasil untukku
January 5th, 2008 06:55 5 Januari 2008 06:55
Thx a lot! Thx a lot!
You saved me hours! Kau menyelamatkan saya jam!