高级检索

    Smalltalk的汉字信息处理

    Chinese Character Information Processing in Smalltalk

    • 摘要: Smalltalk是最具有代表性的面向对象的程序设计语言及环境。本文给出了在其中实现汉字信息处理的一种方法。此方法不是对原系统进行汉化,而是针对Smalltalk的完成输入、输出及编辑功能的类程设置相应的汉字处理类程,使用户不但能在各窗口中处理汉字信息,而且也能在程序中输出汉字。文中首先分析了Smalltalk的字符显示原理及窗口技术,然后详述了各汉字类程的设计思想和实现方法。

       

      Abstract: Smalltalk is the most typical object-oriented programming language and environment. In order to implement Chinese character information processing in it, an approach is presented in this paper.Instead of modifying the original Smalltalk system, this approach provides several new classes by which Smalltalk users can not only process Chinese Characters in Smalltalk windows, but also output them in Smalltalk programs. First,the character-displaying principle and window technique of Smalltalk are analysed and then the design and implementation of Chinese character classes are described.

       

    /

    返回文章
    返回