This could also be part of the table's design -- for instance, it may have a trigger that allows for only alphanumeric data in a particular column, or a format which disallows some of the characters you tried to enter.
update : The former's not much of a possibility -- MySQL doesn't have triggers, apparently...