<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Be Bow Rock.</title>
<link>https://ameblo.jp/skypromotion/</link>
<atom:link href="https://rssblog.ameba.jp/skypromotion/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>ウェブ制作時の備忘録。ロックボウください。</description>
<language>ja</language>
<item>
<title>PHPの文字コード指定／ファイルごとに指定する</title>
<description>
<![CDATA[ <pre><br>&lt;?php<br>//PHP文字の出力をEUC-JPに変更する（このPHPスクリプト内だけ有効な設定）<br>mb_internal_encoding ("EUC-JP");<br>mb_http_output("EUC-JP");<br>ob_start("mb_output_handler");<br>header("Content-Type: text/html; charset=EUC-JP");<br>print "日本語を出力するEUC-JP";<br>?&gt;<br></pre><br><pre><br>&lt;?php<br>//PHP文字の出力をSJISに変更する（このPHPスクリプト内だけ有効な設定）<br>mb_internal_encoding ("SJIS");<br>mb_http_output("SJIS");<br>ob_start("mb_output_handler");<br>header("Content-Type: text/html; charset=SJIS");<br>print "日本語を出力するSJIS";<br>?&gt;<br></pre><br><pre><br>&lt;?php<br>//PHP文字の出力をUTF-8に変更する（このPHPスクリプト内だけ有効な設定）<br>mb_internal_encoding ("UTF-8");<br>mb_http_output("UTF-8");<br>ob_start("mb_output_handler");<br>header("Content-Type: text/html; charset=UTF-8");<br>print "日本語を出力するUTF-8";<br>?&gt;<br></pre>
]]>
</description>
<link>https://ameblo.jp/skypromotion/entry-10896143774.html</link>
<pubDate>Thu, 19 May 2011 07:04:08 +0900</pubDate>
</item>
</channel>
</rss>
