header image

Ryuzeeについて

mixi Twitter Twitter

携帯対応

QRコード

RING

人気ブログランキング

新着記事

4月 12th, 2007 wordpress none Comments

もうタイトルの通り。海外のプラグインを色々使うのであれば、絶対にUTF-8での運用がよい。
おいらは失敗した。
ちなみにUltimateTagWarriorは、付与したタグをRSS2にカテゴリとして追加してくれるのだが、そいつが文字化けする。

直すためには、
/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-actions.php
を修正する必要がある。
739行目付近に

$tags = $utw->FormatTags($utw->GetTagsForPost($post->ID), $format);
$tags = str_replace('&', '&', $tags);
//以下を追加。とりあえず文字コード指定は手抜き。
$tags = mb_convert_encoding($tags, "UTF-8", "EUC-JP");

色々あるねぇ。

“EUC-JPでwordpressは面倒”へのコメントはありません。

コメントはありません。是非コメントしてください。

コメントする

XHTML: 以下のタグが利用可能です: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback

 


ads

読まなきゃモグリ