Patent ID: 6993752
Filing Date: 2006-01-31
Classification: G06F

Abstract:
1. In a compiler comprising a processor-readable medium containing program code and data for operating a digital processor, the compiler comprising a lexical scanner that uses a character identification table during conversion of source code into corresponding target code, a method of dynamically accommodating different character sets associated with the source and target codes, the method comprising: storing conversion data specifying conversion of each of the character identification table and the source code from any one of a plurality of predetermined characters sets to any other of the plurality of predetermined character sets, wherein each of the predetermined character sets comprises respective sets of characters and numeric values that uniquely identify the respective characters; comparing a source character set with a target character set, and converting the source code with the stored conversion data from being encoded with the source character set to being encoded with the target character set if the source and target character sets are different, wherein the source character set is one of the plurality of predetermined character sets and the target character set is one of the plurality of predetermined character sets; and, comparing a table character set with the target character set, and converting the character identification table with the stored conversion data from being encoded with the table character set to being encoded with the target character set if the table and target character sets are different, wherein the table character set is one of the plurality of predetermined character sets.