Part of the EllisLab Network

Bug Report

MySQL

Date: 04/08/2008 Severity: Minor
Status: Bogus Reporter: fergusean
Version: 1.6.1
Keywords: Libraries, Database Class

Description

I wrote and executed a script to insert filenames into a MySQL table using the code sample listed below.

When the filename ($strFile) contains a British pound symbol (£), an error is encountered.

Code Sample

$this->db->insert('names', array('Name' => $strFile));

Expected Result

Actual Result

ERROR - 2008-04-09 01:01:34 --> Query error: Incorrect string value: ‘\xA3.java’ for column ‘Name’ at row 1

Comment on Bug Report

Page 1 of 1 pages
Posted by: Derek Jones on 9 April 2008 7:44am
Derek Jones's avatar

Greetings,

I do not see a forum thread associated with this bug report, and it looks like it may not be a bug.  Have you first read the bug reporting guidelines and used the Bug Report Forum to get help confirming that this is a bug before reporting?

Thanks!

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?