2019年7月25日木曜日

Django 日本語ファイル名のファイルをアップロードするとエラー、'ascii' codec can't encode characters in position 36-49: ordinal not in range(128)

#vi /etc/sysconfig/httpd
#LANG=C
LD_LIBRARY_PATH=/opt/libs/oracle:$LD_LIBRARY_PATH
export LANG='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'

0 件のコメント:

コメントを投稿

データベースフィルドの書き換え

【書き換え】 select Fxxxx,replace( Fxxxx,'D:','C:') from Schema.Table where Fxxxx like 'D:\%' update Schema.Table set Fxx...