You can't simply just change your name and get Mew. You have to use Gameshark, find Mews hex code, and encounter him accordingly.
http://www.trsrockin.com/hexlist.html
Here's the list.
For the ones that are affected by your name, go here.
http://www.trsrockin.com/missingno4.html