Encoding fix

Fix for error as seen here.
http://xbmclogs.com/show.php?id=197191