WPGet — UTF-8 Support

If your MySQL database for WordPress is encoded with UTF-8, and you would like WPGet’s output to also utilise this character set, you can add the following line to the WPGet script:

mysql_query('SET NAMES utf8');

This must be placed right after the line:

mysql_select_db($this->mysqldb) or die ($this->friendlyError(mysql_error(), "{Select DB}"));

Thanks to Dmitrey for this tip. This tip applies to WPGet 0.8, future versions may automatically support UTF-8.

 
wpget/utf-8_support.txt · Last modified: 2009/10/11 08:51 by peter
 
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki