QtextcodecQtextcodec provides a conversion between text encodings.QT uses Unicode to store, draw, and manipulate strings. In many cases, you may want to manipulate different encoded data. For example, most Japanese documents are stored in Shift-jis
briefly summarizes the following methods
Unicode as the core
Using the GNU GetText
QT-based multilingual development tool: QT linguist
Unicode as the core
Reference: http://www.ibm.com/developerworks/cn/linux/l-cn-ccppglb/
A Brief Analysis of Linux internationalization and localization mechanism original address: http://www.oschina.net/question/12_7648
Linux is an international operating system. Its toolkit and device drivers support multi-language operations. This
original link: http://lavasoft.blog.51cto.com/62575/184605/They write too well, clear and accurate. I. Knowledge of international resource documentsThis class provides a shortcut to software internationalization. This class allows you to write a
I. Knowledge of international resource documentsThis class provides a shortcut to software internationalization. This class allows you to write programs that can easily be localized or translated into different languages once processing multiple
With the rapid popularization and development of software applications, the application software is faced with the problem of supporting multinational multi-language internationalization, and the Windows based batch files are widely used, however,
In general, if your x Desktop Environment, most locale Lang settings are as follows:
Zh_cn.gb2312Zh_cn.gbkZh_cn.18030Zh_CN.UTF-8En_us
No matter which country the Lang in locale is, according to my test, it seems that lc_ctype in locale is set to
Document directory
ASCII
GB2312
GBK
UTF Encoding
Setlocale
Miserable programmer
ASCII
Table language English and Western European language.
ASCII is represented by 7 characters, which can represent 128 characters. Its Extension uses 8
Prior to the Android application encountered a problem, that is, depending on the language to display a different contentMany of the online code is wrong, at least can not distinguish between simplified and traditional, here is a methodDoes not
In the past, I did not really have any in-depth research on character encoding. This learning is also due to a customer complaint. In short, the customer complaint is that when our gateway truncates the customer's SMS content, the text message is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.