rename char=>character for minification

reviewer: raymond