我的项目在我的本地主机上运行正常,但在服务器上给出了ascii代码错误。 'ascii' codec can't encode character u'\u0130' in position 78: ordinal not in range(128)def gallery(request): return HttpResponseRedirect("/")
showcase_list =
我在64位的linux(2.6.39-gentoo-r3)上编译了我的程序,但当我编译时,警告包含一些不可读的characters.Just,如下所示:warning: format ?.u?.expects argument of type ?.nsigned int?. but argument 7 has type ?.ize_t?.[-Wformat]