JAVA_OPTS="$JAVA_OPTS -Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF
-8 -Duser.language=zh_CN -Dsun.jnu.encoding=UTF-8"
urlencode 两次----
http://jingyan.baidu.com/article/eae078278eb6d91fec548533.html -xP 字体---》ubuntu 下
idea 中文input.
解决方法
在IDEA的bin目录下的idea.sh文件的前面加上
XMODIFIERS="@im=ibus"
#XMODIFIERS="@im=fcitx"
export XMODIFIERS
export QT_IM_MODULE="ibus"
# ---------------------------------------------------------------------
# Run the IDE.
# --------
idea/64.vmoptions:
-Dfile.encoding=UTF-8
`Gtk-WARNING **: Locale not supported by C library. ` when starting apps from the commandline
8 down vote accepted
First make sure your library language is installed
for example. Then, as superuser, shorten the work by allowing Ubuntu to automatically configure them:
Check your setup, if it's correct then good. But if you have the
Which generates the locales installed and available to you. Choose the locale from the output generated that fits your situation, and export that setting to replace your locales, for example:
For manual installation use Then, say you want to install
|