<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mb_regex_encoding &#8211; トモデジ  tomodigi.com</title>
	<atom:link href="https://tomodigi.com/tag/mb_regex_encoding/feed/" rel="self" type="application/rss+xml" />
	<link>https://tomodigi.com</link>
	<description>デジタルもアナログも</description>
	<lastBuildDate>Thu, 28 Jun 2012 10:21:27 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>PHP 5.3からはmb_regex_encodingの指定をした方がよい</title>
		<link>https://tomodigi.com/web/php/php-5-3%e3%81%8b%e3%82%89%e3%81%afmb_regex_encoding%e3%81%ae%e6%8c%87%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%96%b9%e3%81%8c%e3%82%88%e3%81%84/</link>
					<comments>https://tomodigi.com/web/php/php-5-3%e3%81%8b%e3%82%89%e3%81%afmb_regex_encoding%e3%81%ae%e6%8c%87%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%96%b9%e3%81%8c%e3%82%88%e3%81%84/#respond</comments>
		
		<dc:creator><![CDATA[Tomo]]></dc:creator>
		<pubDate>Thu, 28 Jun 2012 19:22:44 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[mb_internal_encoding]]></category>
		<category><![CDATA[mb_regex_encoding]]></category>
		<category><![CDATA[内部文字エンコーディング]]></category>
		<guid isPermaLink="false">http://www.tomodigi.com/?p=1147</guid>

					<description><![CDATA[PHP 5.2で動いていたページが5.3にバージョンアップしたところ、以下のようなエラーを出すようになりました。 Warning: mbregex compile err: premature end of regula &#8230; <a href="https://tomodigi.com/web/php/php-5-3%e3%81%8b%e3%82%89%e3%81%afmb_regex_encoding%e3%81%ae%e6%8c%87%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%96%b9%e3%81%8c%e3%82%88%e3%81%84/" class="more-link">続きを読む <span class="screen-reader-text">PHP 5.3からはmb_regex_encodingの指定をした方がよい</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>PHP 5.2で動いていたページが5.3にバージョンアップしたところ、以下のようなエラーを出すようになりました。</p>
<p><code>Warning: mbregex compile err: premature end of regular expression ...</code></p>
<p>正規表現に使用する文字コードをしていないことが原因です。</p>
<p><code>mb_regex_encoding("UTF-8");</code></p>
<p>このような一文を入れたところ解決しました。</p>
<p>日本語を扱う場合は、最初の方にmb_internal_encodingとmb_regex_encodingをお約束のように記述することが良さそうです。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tomodigi.com/web/php/php-5-3%e3%81%8b%e3%82%89%e3%81%afmb_regex_encoding%e3%81%ae%e6%8c%87%e5%ae%9a%e3%82%92%e3%81%97%e3%81%9f%e6%96%b9%e3%81%8c%e3%82%88%e3%81%84/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
