This paper presents a method for automatically detecting and correcting erroneous characters in Chinese text. The method treats typo correction as an integral part of syntactic analysis. It considers both the original character and possible replacement characters from a list of confusable pairs during sentence parsing. The character that results in the best parse is identified as correct. The approach achieves substantially higher recall and precision than existing Chinese proofreaders, which do not perform a full syntactic analysis. An evaluation on 50 character pairs found an overall precision of 86.9% and recall of 96.3%. Cases involving characters that can only form words together tended to have perfect scores, while characters that can stand alone were more difficult to correct.