Re: Django and Ajax (mootools/clientcide) Fupdate encoding problems
Karen Tracey pisze: > > Sharing with the list what, exactly, the 'results far from expected' > look like would be a start. I assume from the subject that you are > getting some sort of encoding exception, but without the traceback it is > a bit difficult to say where exactly the problem is. Indeed, i'd have been more precise... "far from expected" means, that characters "śś" are saved as "ść ść" There's no encoding exception, so i think that the reason is bad encodnig by Fupdate, or just Django can't handle proper encoding of correct data supplied by Fupdate. I've found out that clientcide Fupdate makes some "magic" with form data, so I've changed a little code of clientcide Fupdate (http://groups.google.com/group/clientside/browse_frm/thread/e72931ed9260369d), and it works well now, I don't know if this problem is more server or client side specyfic... -- Bartek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Django and Ajax (mootools/clientcide) Fupdate encoding problems
2009/4/28 Bartek SQ9MEV > > What would be the best idea to handle this problem? Where does it > originate? > Any idea where to start investigation? > > Sharing with the list what, exactly, the 'results far from expected' look like would be a start. I assume from the subject that you are getting some sort of encoding exception, but without the traceback it is a bit difficult to say where exactly the problem is. Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Django and Ajax (mootools/clientcide) Fupdate encoding problems
Hi Im using clientcide fupdate which generates ajax request: http://dpaste.com/38671/ My post data includes some national (polish) characters, when i try to save them i get results far from expected. My view is at http://dpaste.com/38672/ What would be the best idea to handle this problem? Where does it originate? Any idea where to start investigation? -- Bartek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---