xiaohei
Results
1
comments of
xiaohei
这个问题搞定了。各种测试呀!在DjangoUeditor/views.py中SaveUploadFile这个方法中,将FilePath转成utf-8。在try中加入:FilePath = FilePath.encode('utf-8') 即可。 另外我的环境是Apache2.2 + djang 1.4.3 + mod_python3.3 还要给给本机的/etc/profile 中加入 export LANG='en_US.UTF-8' export LC_ALL='en_US.UTF-8' 这是解决中文路径问题,否则传上去图片之后找不到链接。