检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京苏美达智能技术有限公司,江苏南京210032
出 处:《工业控制计算机》2023年第7期73-76,共4页Industrial Control Computer
摘 要:介绍了一种在以单片机为代表的嵌入式平台上显示多国语言文字的方法。该方法以Unicode点阵字库和XML技术为基础,将多国语言的文字素材存储到XML文件中,通过Min-XML解析和提取所设定语言的文字信息,并将其存储到字符串信息池的数据结构中。应用程序根据字符串ID,从字符串信息池中获取字符串编码数据,并从字库读取点阵数据进行显示。该方法具有通用性高、可移植性好、可扩展性强的优点,为需要显示多国语言文字的场合,提供了借鉴。This paper introduces a method of displaying multi language characters on the embedded platform represented by MCU.This method is based on Unicode dot matrix font library and XML technology.It stores the text information of multilingualism into XML file,parses and extracts the text information of the set language through Min-XML,and then stores it in the data structure of the string information pool.The application obtains encoding of strings from the string information pool according to the string ID,and reads lattice data from the font library for display.This method has the advantages of high universality,good portability,and strong scalability.It provides a reference for the occasions where multi language characters need to be displayed.
关 键 词:多国语言 UNICODE UTF-8 XML Mini-XML
分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.148.247.210