Does GD have a function that returns ASCII code of a char?

Because since new version of tilemap extension will have replacing tiles in code and ability to get ascii code of an character+tilemap with special tileset = bitmap font solution.

Good idea.

So… Does GD have function like that?