Skip navigation.

ReEdit

Nothing is said that has not been said before.

在linux下resin使用eWebEdit的问题

, ,

在win的tomcat下运行正常,到linux下的resin下就不能调用了
尝试了很多方法,总算得知是编码的问题
由于我的服务器是刚刚装的系统,没有设置字符
在当前用户的字符集下运行的程序就可能存在问题
由于eWebEdit的某些配置文件是用中文写的
在读取配置文件的时候就会出问题了
解决办法是修改 .bash_profile
在用户环境变量里加上中文的字符集
export LANG=zh_CN.GB18030
export LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN
完整文件如下:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
export LANG=zh_CN.GB18030
export LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME


这个问题耗费我6个小时
linux的水平还是不行啊
还要练习哦

resin中禁止目录浏览linux下mysql对表名的大小写敏感

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies