You don't need such "feature" if you do it programmatically. The "feature" only exists in UI, helps inexperienced users. On the level of software development, there is no such thing as "special" character (how can it be "special", I wonder?
That was a question of a non-developer. In that sense, it's off-topic.