One of the best methods for the internationalization and localization of an existing software system is to convert the program code to support Unicode, this method supports the internationalization very well. In this paper, a technique based on lexical analysis is proposed to migrate the program automatically to Unicode. This technique scans the program code twice: detecting, analyzing and manually converting the suspicious code in the first scanning, and auto-converting the remaining code in the second scanning. Applied to a system which has 10 million lines of C/C++ code, the technique was proved to be available and highly efficient. This technique is universal and can be widely used.
['Wenlin Peng', 'Xiaohu Yang', 'Feng Zhu']
Automation technique of software internationalization and localization based on lexical analysis