Abstract:The disadvantages of localization are pointed out in this paper, Java's intel encoding is also analyzed profoundly, and the c ompiler supporting internationalization is designed and implemented. With the ch aracter encoding transformation scheme, international characters and strings hav e the same operations as the English characters and strings, the storage spaces of class files are saved, and the applications have conditional encoding-indepe ndence and the problem of many Chinese character sets is solved to some extent. Separating compiler messages from codes independent of locale context supports t he implementation of international information. Small font libraries are adopted to implement the real platform-independence of applications including local ch aracters, the problem JKD (Java development kit) has not solved, and the charact ers' encoding transformation is performed during loading a class file. To solve the compatibility problem between different JDK versions, the different encoding transformation schemes are chosen according to the character's encoding charact eristic. The test results prove that the internationalization scheme designed in this paper can solve the internationalization problems thoroughly.