<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - UTF-8 encoding issue]]></title>
		<link>http://railsforum.com/viewtopic.php?id=51462</link>
		<description><![CDATA[The most recent posts in UTF-8 encoding issue.]]></description>
		<lastBuildDate>Wed, 13 Mar 2013 11:16:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: UTF-8 encoding issue]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=161088#p161088</link>
			<description><![CDATA[<p>UTF-8 has become the dominant character encoding for the World-Wide Web, accounting for more than half of all Web pages.The Internet Engineering Task Force (IETF) requires all Internet protocols to identify the encoding used for character data, and the supported character encodings must include UTF-8.The Internet Mail Consortium (IMC) recommends that all e-mail programs be able to display and create mail using UTF-8.UTF-8 is also increasingly being used as the default character encoding in operating systems, programming languages, APIs, and software applications.</p>]]></description>
			<author><![CDATA[dummy@example.com (semaphore.v)]]></author>
			<pubDate>Wed, 13 Mar 2013 11:16:43 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=161088#p161088</guid>
		</item>
		<item>
			<title><![CDATA[Re: UTF-8 encoding issue]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=157482#p157482</link>
			<description><![CDATA[<p>I am confused after reading your issue , i can not provide you the solution .</p>]]></description>
			<author><![CDATA[dummy@example.com (mikefela)]]></author>
			<pubDate>Tue, 11 Dec 2012 09:29:06 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=157482#p157482</guid>
		</item>
		<item>
			<title><![CDATA[UTF-8 encoding issue]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=157301#p157301</link>
			<description><![CDATA[<p>I&#039;m working on a support issue where users enter text into a form and it should update an objects attributes in the database by calling update_attributes<br />The issue I&#039;m having seems to be some kind of encoding problem - When a certain set of japanese characters are entered:<br />グーグル<br />はい</p><p>with the carriage return, it returns this error: </p><p>PG::Error: ERROR:&nbsp; invalid byte sequence for encoding &quot;UTF8&quot;: 0xe3283f<br />: UPDATE &quot;monitor_lists&quot; SET &quot;updated_at&quot; = &#039;2012-11-30 23:20:40.698964&#039;, &quot;regexp&quot; = &#039;\bã(?:‚°ãƒ¼ã‚°ãƒ«|¯ã„)\b&#039;, &quot;list&quot; = &#039;ã‚°ãƒ¼ã‚°ãƒ«<br />ã¯ã„&#039; WHERE &quot;monitor_lists&quot;.&quot;id&quot; = 1 </p><p>but I&#039;ve checked and the front end site and back end DB both use UTF8, so there&#039;s no reason I can find why there should be an issue there. I did wonder if it could be something to do with the regex being generated for the japanese phrases - the error doesn&#039;t occur if you try either on their own or without the new line - but the hex code in the error line converts back to ?ã(? and that phrase isn&#039;t in the regex. I&#039;m at a loss, so any suggestions would be appreciated. </p><p>Thanks in advance.</p>]]></description>
			<author><![CDATA[dummy@example.com (silversurfer)]]></author>
			<pubDate>Fri, 30 Nov 2012 23:22:25 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=157301#p157301</guid>
		</item>
	</channel>
</rss>
