Patent ID: 7299452

Claim:
A method of testing a program module for compatibility with a foreign character set, comprising: generating a first test set for testing the program module, wherein said first test set is expressed in a first character set corresponding to a first language; selecting a second character set corresponding to a second language; mapping said first test set to a second test set that includes characters from the second character set, wherein said mapping comprises mapping the first character set into the second character set through a standard intermediate form, wherein the standard intermediate form corresponds to multiple character sets associated with multiple languages, including the second language; implementing said second test set to produce a second set of output expressed in the second character set, wherein producing the second set of output involves adjusting a size of a buffer for the second set of output based upon the encoded size of characters in the second character set so that the buffer is able to accommodate a second set of output which contains the same number of characters as the first test set; mapping said second set of output from the second character set to a first set of output expressed in the first character set; and comparing said first set of output to an expected set of output to determine if the program module operated correctly with said second test set.