using char instead of aref for getting a char by index

I think using the type specific function enables the implementation to behave more correctly. Also it makes understanding easier altough few people seem to know about this function.