<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 03:59:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: Some notes on SQL Server blobs with sqlsrv]]></title>
      <guid>http://www.phpdeveloper.org/news/15470</guid>
      <link>http://www.phpdeveloper.org/news/15470</link>
      <description><![CDATA[<p>
In <a href="http://akrabat.com/php/some-notes-on-sql-server-blobs-with-sqlsrv/">this new post</a> to his blog, <i>Rob Allen</i> has posted notes on some of his experience in working with blobs with SQL Server using UTF-8.
</p>
<blockquote>
This turned out to be easy enough: Use ntext, nvarchar types in the database and add resources.db.params.driver_options.CharacterSet = "UTF-8" to your application.ini 
</blockquote>
<p>
He also includes some code to fix a problem he spotted with storing binary data into a varbinary field giving him an error about string translation. The fix came in the way of replacing the direct <a href="http://php.net/file_get_contents">file_get_contents</a> assignment to a variable over to a binding method that specified the data type as well.
</p>]]></description>
      <pubDate>Mon, 22 Nov 2010 11:15:33 -0600</pubDate>
    </item>
  </channel>
</rss>
