WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPressの文字エンコーディングの問題はバージョン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のブログに掲載されWordPressのバージョン2.2にアップグレードさ年5月に遭遇奇妙な文字セット(文字)でいくつかの文字エンコーディングの問題、特に、アポストロフィ( ' ) 、引用符( " ) 、およびハイフンやダッシュ( -)として表示されるような奇妙な文字â € ™あるいは単に疑問符( ? )ときの投稿は、ウェブページの出力をします。 As you have probably suspected, the issue is caused by character encoding method used by疑いを持って、おそらく、この問題が原因で発生する文字エンコーディングに使用される方法 WordPress 2.2 which supports setting of database collation and character set WordPressの2.2をサポートするデータベースの設定を照合順序と文字セット in WordPress config file. WordPressの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.のエラーが発生するため、 WordPressのバージョン2.1.3を含む、ほぼすべてのWordPressのデータベースが作成使用して、 latin1キャラクタセットと照合順序は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.初めのWordPress v2.2は、 WordPressの両方を使用すると、ユーザーを定義し、データベースのキャラクタセットと照合順序でのファイルのWP - config.phpを、 db_charsetとdb_collateの値を使用しています。 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.これらの値を別のエンコーディングを設定すると、差を前提として、データベースが実際に使用して、文字セットと照合順序も、どこでていない場合は、既存の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. WordPressのためにアップグレードする場合はデフォルトのWP - config.phpを使用して、 2.2か、またはファイルを手動で更新するには、新しい変数か、または奇抜な行動を使用してアップグレードのWPにconfig.phpを自動的に更新して、これら2つの定義ファイルを含めるどの値として設定されUnicodeのUTF - 8にデフォルトでは、これらの定義を削除する必要がありますを解決するために、文字エンコーディングエラーが発生します。

Open and edit your WordPress wp-config.php file.オープンでのWP - config.phpをWordPressのファイルを編集してください。 Then locate the following two lines:入力し、次の2つの行を見つけます:

define(’DB_CHARSET’, ‘utf8′);定義( ' db_charset ' 、 'にutf8 ' ) ;
define(’DB_COLLATE’, ”);定義( ' 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:これらの2行を削除することができます程、わずかにutf8を削除してからの最初の行を組み合わせて、次のように:

define(’DB_CHARSET’, ”);定義( ' db_charset ' 、 " ) ;
define(’DB_COLLATE’, ”);定義( ' db_collate ' 、 " ) ;

With no charset and collation values set, WordPress will fall back to the old default, latin1 which matched the databases.文字セットと照合順序の設定値なし、 WordPressのは、秋の省略して、古い既定では、 latin1のに似たのデータベースのです。

A possible better solution isする可能性がよりよい解決策は convert the Wordpress database to UTF8 Unicode WordPressのデータベースをutf8にユニコードに変換する .です。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。

Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。



34 Responses to “WordPress Charset Encoding Problem After Upgrading to Version 2.2” 34レスポンスを" WordPressの文字エンコーディングの問題はバージョン2.2にアップグレードした後"

Pages: [2]ページ: [ 2 ] 1 » Show Allすべて表示

  1. Fix odd characters in Wordpress posts | Chris Fay & Jennie Fay’s Webportal変な文字を修正するWordPressの投稿|クリスフェイ&ジェニーフェイのwebportal
    September 16th, 2008 10:05 2008年9月16日10:05
    34

    [...] caused due to the encoding and collation, however after following the recommendations of sites like [...]の原因と照合順序のエンコーディングのために、しかし次のように勧告した後のサイトのような http://www.mydigitallife.info/2007/0…to-version-22/ http://www.mydigitallife.info/2007/0 …を-バージョン- 22 / I was still unable to get rid of the huge amount of garbled characters.私はまだできませんでした。抜け出すのは、膨大な量の文字化けが発生します。 Ultimately, I spent some [...]最終的に、私使用済みいくつかの[...]

  2. Paula Gポーラグラム
    September 6th, 2008 19:50 2008年9月6日19:50
    33

    Thanks so much — you saved me hours of hair pulling!感謝そんなに-メイン時間悩んだ結果を保存!

  3. Ates Goral atesゴーラル
    August 24th, 2008 11:20 2008年8月24日11:20
    32

    Thanks!ありがとう! Saved me a lot of time.私に多くの時間を保存します。

  4. Rodrigoロドリゴ
    August 23rd, 2008 05:24 2008年8月23日05:24
    31

    thanksありがとう

  5. Endolith歯髄結石
    June 18th, 2008 08:42 2008年6月18日08:42
    30

    Isn’t UTF8 much better?にutf8ではないくらい良いですか? Why would you limit yourself to Latin1 just because it used to be the default?どうしてそんなことをlatin1の限界自分のためだけに使用して、デフォルトのことですか?

  6. Tom Clarkeトムクラーク
    June 6th, 2008 20:56 2008年6月6日20:56
    29

    Just wanted to say: this had afflicted me for months.指名手配を言うだけ:これは何カ月も苦しんでいる私です。 Never found a workable solution.決して有効な解決策を見つけた。 Stumbled on your site today and it worked perfectly.お客様のサイトstumbled今日そしてそれは完璧です。 Thanks so much!本当にありがとうございました!

  7. Joshジョシュ
    February 19th, 2008 05:04 2008年2月19日05:04
    28

    Hi, thanks for doing this.こんにちは、こんなことをいただきありがとうございます。 it’s the only thing I’ve found.それは私だけが見つかりました。 I remove the utf8 and a lot of my posts still have the question marks.私を削除して自分の投稿にutf8となり、多くの疑問符まだある。 any ideas what I may need to do?何かお考えが私がこれを行うことが必要ですか?

  8. Marthin marthin
    February 17th, 2008 03:44 2008年2月17日03:44
    27

    thanks for the help, it worked out for me助けてくれてありがとう、事がうまく運んでの私 : )

  9. Bruno Silvaブルーノシルバ
    January 5th, 2008 06:55 2008年1月5日06:55
    26

    Thx a lot! thxのたくさん!
    You saved me hours!メイン時間を保存!

Pages: [2]ページ: [ 2 ] 1 » Show Allすべて表示

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> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

wordpress charset WordPressの文字セット - - wordpress encoding WordPressのエンコーディング - - charset wordpress WordPressの文字セット - - wordpress utf8 WordPressのにutf8 - - wordpress utf-8 WordPressのUTF - 8に - - wordpress DB_COLLATE WordPressのdb_collate - - wordpress character encoding WordPressの文字エンコーディング - - wordpress change charset WordPressの変更のcharset - - wordpress encoding problem WordPressのエンコーディングの問題 - - wordpress weird characters WordPressの変な文字 - - DB_CHARSET Wordpress WordPressのdb_charset - - wordpress apostrophes WordPressのアポストロフィ - - all すべての - - utf-8 wordpress UTF - 8でのWordPress - - utf8 wordpress WordPressのにutf8 - - encoding wordpress エンコーディングのWordPress - - Charset Encoding 文字エンコーディング - - rendering apostrophe in wordpress レンダリングアポストロフィにWordPress - - problem with Iphone after upgrading to version 2 iphoneのバージョンをアップグレードした後に問題が2 - - wordpress DB_CHARSET WordPressのdb_charset - - wordpress utf WordPressののUTF - - wordpress upgrade charset WordPressのアップグレードのcharset - - wordpress 2.6 charset WordPressの2.6のcharset - - wordpress charset problem upgrade WordPressのアップグレードのcharsetの問題 - - DB_COLLATE wordpress WordPressのdb_collate - - wordpress 2.6 charset problema 問題のWordPress 2.6のcharset - - wordpress korean WordPressの韓国語 - - strange characters in wordpress 奇妙な文字にWordPress - - wordpress korean WordPressの韓国語 - - encoding problem wordpress WordPressのエンコーディングの問題 - - remove cech characters utf8 チェフ文字を削除するにutf8 - - Windows japanese charset encoding problem characters Windowsの日本語文字セットの文字エンコーディングの問題 - - php charset encoding utf PHPの文字エンコーディングのUTF - - wordpress change encoding WordPressのエンコーディングを変更する - - "WordPress" "charset" " WordPressの" "文字" - - wordpress character support WordPressの文字サポート - - wordpress encoding error WordPressのエンコーディングエラーが発生 - - wordpress encoding collation WordPressのエンコーディングの照合順序 - - wordpress charset problem WordPressの文字セットの問題 - - encoding method used in the wordpress for password エンコーディングメソッドのWordPressのために使用されているパスワード - - wordpress encode WordPressのエンコード - - wordpress upgrade character encoding problem WordPressのアップグレードの文字エンコーディングの問題 - - wordpress strange characters WordPressの奇妙なキャラクター - - charset 文字セット - - wordpress utf 8 WordPressののUTF 8 - - change wordpress encoding WordPressのエンコーディングを変更する - - wordpress bilingual post korean WordPressのバイリンガルの韓国語の投稿 - - wordpress text encoding problem WordPressのテキストのエンコーディングの問題 - - info about UTF8&a に関する情報を参照するにutf8 & - - norwegian characters wordpress ノルウェー語の文字のWordPress - -