restore the previous default. Ulimit-shn 65535
12, set the system character set
First type:vi /etc/sysconfig/i18n
If you want to use the Chinese hint: lang= "ZH_CN." Utf-8″ If you want to use English tips: lang= "en_US." Utf-8″ can also be LANG=ZH_CN if you switch temporarily. UTF-8
Second: Use SED to quickly replace
#Replaced with English
Sed-i ' s#lang= ' zh_cn.* "#LANG =" en_US. UTF-8 "# '/etc/s
.QtGui.QApplication (sys.argv) dlg = Dialog () dlg.show () Sys.exi T (APP.EXEC_ ())Dlg=dialogname (), where dialogname depending on the class name being generatedThis is the first Python program to completeThis article refers to the problem of the Chinese:http://www.sciencenet.cn/blog/user_content.aspx?id=312656Python is a powerful scripting language. QT is a cross-platform interface development language. The combination is PYQT, and Eric is an IDE developed by Python that supports PYQT. Python
Main configuration server.xml files in tomcat/conf directory
1. Change the default 8080 port to 80 port first
Note: Set the port= "80" of the connector node
2. Configure project Directory Access
Note: Set the host node's name= "localhost", name is to set access mode, with localhost access, this machine directly use localhost access on the line, other IP address directly through the local IP address can be accessed. Appbase= "webapps/i18n
Toggle runlevel (n is 0 to 6)Init 0 shutdownInit 6 Restart (common 1 and 3) 3. Turn off the firewall/etc/init.d/iptables Stop # Close firewall/etc/init.d/iptables Status # Query current firewall status Chkconfig iptables off # turn off boot 4. Linux Chinese displaycat/etc/sysconfig/i18n # Query the current language settings, default Lang=en_us. Utf-8sed ' S#lang=en_us. Utf-8#lang=zh_cn. Utf-8#g '/etc/sysconfig/
(/etc/profile) so that the modification result can be inherited by every user: open/etc/profile, the LANG variable setting command cannot be found directly on it, but the script also runs other scripts :... for I in/etc/profile. d /*. sh; do if [-r "$ I"]; then. $ I fidone... 4. to/etc/profile. d/directory, view these *. sh script, found a file named "lang. sh "file, it should be: open/etc/profile. d/lang. sh, starting with a few words :... for langfile in/etc/sysconfig/
Struts2 internationalization (I18N)
Internationalization is also called I18N, which is short for Internationalization. Struts2 internationalization is based on Java internationalization, but the Struts2 framework further encapsulates Java internationalization, which simplifies the internationalization of applications.
Use struts2 for internationalization
On the basis of the previous "use Struts2 Checker to
template. In fact, we can write the SaferHTML method better. From a security perspective, this SaferHTML is very fragile. In HTML, different escape methods are needed in different places, and SaferHTML does not. With a bit of thinking, we can implement a more flexible SaferHTML method, which can escape any HTML in templateData to know which placeholder is pure HTML and which is the attribute of the element, therefore, you need to escape 'and "; which is the URL query string, so you need to use
Today, we installed RedHat9.0, which is hard to install. Because the default language selected when installing Redhat9Linux is Chinese, garbled characters may occur on the Character interface. The following figure shows the solution to garbled characters on the Character interface. Note: # For command prompt Method 1: # locale (the locale command is used to view detailed information about the language used, which is a Chinese language) # exportLC_ALL = POSIX (the export command exports and modif
or exe, which requires three other dll files I18N. dll, I18N. west. dll, I18N. CJK. dll, the three files and System. data. the dll is in the same directory. To put the four dll files together in the Assets file and publish them, you can connect to the database.
Public class ConnectionSqlserver: MonoBehaviour
{
Void Start ()
{
// Connection string
SqlConnection c
In RHEL4.0, I have installed five things, but how to enable it-Linux general technology-Linux technology and application information. The following is a detailed description. First, you cannot call out using the control key + cell. You cannot use the following method:
After the installation is complete, press CTRL + SPACE to call it directly. If the call fails, modify. bashrc and. i18n in the user directory.
# Cd ~ // Enter the home directory of t
Struts. action. extensionThe URL extension to use to determine if the request is meant for a Struts actionUse the URL extension to determine whether the request is used as a Struts action, that is, to set the action suffix, such as the 'do 'word of login. do.
Struts. configurationThe org. apache. struts2.config. Configuration implementation classOrg. apache. struts2.config. Configuration Interface Name
Struts. configuration. filesA list of configuration files automatically loaded by StrutsA list
The JSTL (JSP standard tag library) contains a standard set of tags for writing and developing JSP pages that provide users with a script-free environment.JSTL provides 4 main tag libraries: Core Tag library, internationalization (i18n) and formatted tag library, XML tag library, and SQL tag library.1 Core Tag LibraryPros: You can view the source codeThe universal tag in the core tag library is used to manipulate the range variables created by the JSP
can be displayed in Chinese and must be installed in sequence.
2. After the installation is complete, you need to set the system file, that is, modify the default language of the Linux system:
1. Backup File
/Etc/sysconfig/i18n is the system language configuration file. Back up the file before modification.
# Cp/etc/sysconfig/i18n/etc/sysconfig/i18n. bak
2. modi
Abstract: Cakephp's powerful i18n function is used for localization and internationalization. By using the language configuration file, the program can adapt to changes for localization. Create a localechiLC_MESSAGESdefault.po file and specify the language option as "chi. This article describes how to implement this localization process... Cakephp's powerful i18n function is used to implement localization a
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.