Sunday, March 18, 2012

VERY strange unicode encode error on internet connection

hello django friends,

I am facing a VERY strange unicode encode error on internet connection.
No Error when network(LAN/internet) is disabled.

Situation:
------------
In a template I do have a link to a site(google) in this a URL a '/u' is included.

I am testing this in my virtual-machine so I can turn on and off internet connection.
the server is in my virtual-machine and the browser is in this virtual-machine too.
So I am able to test the site with "internet connection" and without "internet connection".

Now the VERY strange behavior:
  • When my internet connection is activated I do get the following Template Error:
        Caught UnicodeDecodeError while rendering: 'ascii' codec can't decode byte 0xe2 in position 31: ordinal not in range(128)

  • When my internet connection is disabled everything works fine.

I did not know that my django - interpreter is internet connection related!?

Please give me some insights on that problem.

Thank you very much!!!
Ionic





0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate