Make chr() work with unicode

* Update docs to reference chr() instead of char()
* Make chr() work with unicode code points instead of ascii code points to match the documentation
Fix the check for identifying row_number functions