for single characters it is better to use '', "" is a zero terminated string. Also, there could be an issue with unicode strings.