<?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>Snoozing Dragon &#187; Programming</title>
	<atom:link href="https://www.snoozingdragon.com/category/information-technology/programmin/feed" rel="self" type="application/rss+xml" />
	<link>https://www.snoozingdragon.com</link>
	<description>Information Technology and Management weblog</description>
	<lastBuildDate>Fri, 15 Aug 2014 07:44:36 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>Avidemux script to join multiple flv files</title>
		<link>https://www.snoozingdragon.com/information-technology/programmin/avidemux-script-to-join-multiple-flv-files-154.html</link>
		<comments>https://www.snoozingdragon.com/information-technology/programmin/avidemux-script-to-join-multiple-flv-files-154.html#comments</comments>
		<pubDate>Fri, 15 Aug 2014 07:42:25 +0000</pubDate>
		<dc:creator><![CDATA[yk]]></dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.snoozingdragon.com/?p=154</guid>
		<description><![CDATA[Some video sites allow you to download a show but they are broken up into multiple FLV files. The attached Avidemux Tinypy script will allow you to choose folder and join all the FLV files that are found inside and save it in a MKV container (more video player friendly). If you need to join [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Some video sites allow you to download a show but they are broken up into multiple FLV files. The attached Avidemux Tinypy script will allow you to choose folder and join all the FLV files that are found inside and save it in a MKV container (more video player friendly). </p>
<p>If you need to join other file types, modify the following lines:<br />
<code>ext="flv"</code></p>
<p>If you need to save as another file container type, modify the following lines:<br />
<code>adm.setContainer("MKV")</code><br />
and<br />
<code>outputFile = inputFolder+"\\"+directoryName+".mkv"</code></p>
<p>Pardon the messy code, it was done as a quick and dirty script.</p>
<p><a href="http://www.snoozingdragon.com/wp-content/uploads/2014/08/convert.zip">Click here to download the script</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.snoozingdragon.com/information-technology/programmin/avidemux-script-to-join-multiple-flv-files-154.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Query error: Incorrect string value</title>
		<link>https://www.snoozingdragon.com/information-technology/programmin/query-error-incorrect-string-value-118.html</link>
		<comments>https://www.snoozingdragon.com/information-technology/programmin/query-error-incorrect-string-value-118.html#comments</comments>
		<pubDate>Sat, 20 Apr 2013 08:39:24 +0000</pubDate>
		<dc:creator><![CDATA[yk]]></dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.snoozingdragon.com/?p=118</guid>
		<description><![CDATA[I was inserting records into a MySQL table using php and got an error that says: Query error: Incorrect string value: '\xE2\x82...' for column 'message' at row 1 - Invalid query: INSERT INTO `my_table` (`message`) VALUES ('The price is xE2x82 500') The original string in the &#8216;message&#8217; field is actually The price is â‚¬ 500 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I was inserting records into a MySQL table using php and got an error that says:<br />
<code>Query error: Incorrect string value: '\xE2\x82...' for column 'message' at row 1 - Invalid query: INSERT INTO `my_table` (`message`) VALUES ('The price is xE2x82 500')</code></p>
<p>The original string in the &#8216;message&#8217; field is actually<br />
<code>The price is  â‚¬ 500</code></p>
<p>This error is surprising given that the string is actually in <em>UTF-8</em> encoding and the field in the MySQL table is declared as <em>utf8_unicode_ci</em> type.</p>
<p>The solution that I found it is to call the php function <strong><em>utf8_encode</em></strong> to encode string before inserting into the MySQL table.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.snoozingdragon.com/information-technology/programmin/query-error-incorrect-string-value-118.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
