On Sun, 2008-11-30 at 07:56 -0800, Log0 wrote: > Hi all, > > This string : > > data = ''.join( [ chr(i) for i in xrange(256) ] ) > > In Django 0.96, this string prints well. > In Django 1.0, this string simply disappears before going to Apache, > and the data is never transmitted to the client or even apache.
You're going to need to supply a bit more information than that. You don't explain how you are trying to send that information to the client, for example. Is it part of a template? Or raw data that you push into an HttpResponse object? Realise that there were some things with bytestrings like this that worked by accident in Django 0.96. When we added proper unicode support just after 0.96 was released, this also meant that all bytestrings are treated as UTF-8. So arbitrary bytestrings like the above won't make a lot of sense most of the time (it isn't valid UTF-8). However, it depends on the context you are using the data in, so if you can supply a few more details, we might be able to help. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

