i have an apache error for turkish charachter and django is the framework 25 minutes work

Our project programming language is Python 3.6.2. Operation system Centos [url removed, login to view] are using Apache/2.4.6, Django framework (1, 11, 6, 'final', 0) , and database MySQL 5.7.19.

We get error at below when we use Turkish characters. We define " # -*- coding: utf-8 -*- " the source code encoding at top of Python soruce files but continue taking the same error.

How can we fix this issue?


UnicodeEncodeError at /admin/adminpanel/abonebilgileri/3/change/

'ascii' codec can't encode character u'\xd6' in position 6: ordinal not in range(128)

Request Method: GET

Request URL: http://x.x.x.x:8880/admin/xxxpanel/xxx/3/change/

Django Version: 1.11.4

Exception Type: UnicodeEncodeError

Exception Value:

'ascii' codec can't encode character u'\xd6' in position 6: ordinal not in range(128)

Exception Location: /usr/lib64/python2.7/site-packages/django/utils/[url removed, login to view] in force_text, line 80

Python Executable: /usr/bin/python

Python Version: 2.7.5

Python Path:


'/usr/lib64/[url removed, login to view]',









Server time: Pzt, 5 Şub 2018 06:30:13 +0000


Taidot: Django, Linux, MySQL, PHP, Python

Näytä lisää: turkish freelance django jobs, python, Django framework, jquery, apache error, freelancer for django framework rest api developer bangalore, django framework outsource, how to develop basic cms sites in django framework, django framework, django framework python, apache error 324 empty response, python django framework, ecommerce django framework, apache error 310, freepbx apache error 403, ubuntu apache mysql svn trac django, fix apache error

Tietoa työnantajasta:
( 0 arvostelua ) India

Projektin tunnus: #16248912

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

₹4500 INR 1 päivässä
(12 arvostelua)

5+ years of exp. in Python and back end tech. Like Linux, PSQL/MYSQL, AWS ~3 years with Django and other front end technologies like CSS3, Bootstrap HTML5....

₹1465 INR 1 päivässä
(6 arvostelua)

I know why you are getting the error. Can fix it for you .

₹1300 INR 2 päivässä
(2 arvostelua)

 Knowledge of Linux OS, Red hat,Centos,Fedora, Ubuntu, Debian,FreeBSD  Apache, MySQL, LAMP, Nginx, Cpanel, Live Video Streaming, Virtualization, Managed Hosting, OpenVZ, Software Installation.  Knowledge of Micro Lisää

₹1300 INR 1 päivässä
(0 arvostelua)

A proposal has not yet been provided

₹1450 INR 1 päivässä
(0 arvostelua)