Moses, change the charset of the database tables to UTF-8. Bet that solves it.

Your database tables are probably on the default charset of "latin1", which means they only allow 4 bit characters. The pound sign is an 8 bit character, so need to change to UTF-8 charset to support that. Just one simple SQL statement against each database table should do the trick.