[Cs-rssdb-commits] SF.net SVN: cs-rssdb:[27] trunk/0.1/rssDBClass.php
Status: Abandoned
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2009-01-06 17:47:54
|
Revision: 27
http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=27&view=rev
Author: crazedsanity
Date: 2009-01-06 17:47:52 +0000 (Tue, 06 Jan 2009)
Log Message:
-----------
Fix problems when inserting data that has non-UTF8 characters.
NOTE::: URL from which this regex was adapted (not PHP, that's why it had to be "adapted"):
http://forums.devshed.com/asp-programming-51/regex-how-to-remove-non-ascii-characters-from-string-395202.html
/rssDBClass.php:
* parse_file():
-- clean title, entry_text, and author of any non-UTF8 characters to
avoid issues with database insertion. NOTE: this has NOT been very
thoroughly tested at all.
Modified Paths:
--------------
trunk/0.1/rssDBClass.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|