You are not logged in.

Change Language:

Profile for calculus

Name calculus
Email Address n/a
Posts1
  • Character problem in template
    Board » Django » Templates
    Edit;
    This problem solved.
    Answer; start > run > notepad > enter

    http://img404.imageshack.us/img404/4559/djangotemplate.jpg

    Save as > coding > utf8
    ______
    Hi.
    While performing a template, Turkish characters is give to failure .

    Error code;
    UnicodeDecodeError at /time/

    'utf8' codec can't decode bytes in position 264-269: unsupported Unicode code range

    Request Method: GET
    Request URL: http://127.0.0.1:8000/time/
    Django Version: 1.2.1
    Exception Type: UnicodeDecodeError
    Exception Value:

    'utf8' codec can't decode bytes in position 264-269: unsupported Unicode code range

    Exception Location: C:\Python26\lib\encodings\utf_8.py in decode, line 16
    Python Executable: C:\Python26\python.exe
    Python Version: 2.6.5
    Python Path: ['c:\\Python26\\ilksite', 'C:\\WINDOWS\\system32\\python26.zip', 'C:\\Python26\\DLLs', 'C:\\Python26\\lib', 'C:\\Python26\\lib\\plat-win', 'C:\\Python26\\lib\\lib-tk', 'C:\\Python26', 'C:\\Python26\\lib\\site-packages', 'C:\\Python26\\lib\\site-packages\\PIL']
    Server time: Cum, 2 Tem 2010 20:38:13 +0300
    Unicode error hint

    The string that could not be encoded/decoded was: ngo T�rk�e karak



    Thank you for your interest.
    Good working.

    --- Last Edited by calculus at 2010-07-02 16:35:41 ---


Powered by Sphene Community Tools