On Jul 16, 7:51 am, Petry <marcospe...@gmail.com> wrote: > Hello, > > I am working on a project where I have to store a large amount of > content, (html) in a record from a table, I am using Oracle as the > database > > What is very strange ... is put a text reasonably small, (around 2000 > characters) and it works correctly, save without problems, but > doubling this size, this content is saved completely changed. > > Initially used with standard and type of field in Oracle Textfield > that it generates a type NCLOB, then when i saved it adds various > ideograms that believe they are Chinese. changed the type of field to > CLOB and now when saved, several questions are stored in text ("??") > > About my work environment: Django 1.1 (svn), debian, and Oracle 10g > with cx_oracle 4.4.1
Hi Petry, I've heard of similar problems a couple of times (see http://code.djangoproject.com/ticket/9152), but so far nobody seems to want to stick around long enough to figure out what's going on. What are the database character set and national character set of your database? Is the text you're trying to store str or unicode? If str, what encoding is it? You mentioned that it fails around 4000 characters. Does it fail just in the 2001-4000 character range, just in the 4001+ character range, or both? Thanks, Ian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---