View Single Post

   
  #3 (permalink)  
Old 03-01-2008, 02:43 PM
Robert Klemme
 
Posts: n/a
Default Re: How can i store data ?(encoding and data type)

On 20.10.2007 15:05, oruccim@gmail.com wrote:
> On 20 Ekim, 16:03, "oruc...@gmail.com" <oruc...@gmail.com> wrote:
>> hi my friends;
>> i have got a problem.i thing you can help me
>> a='\x80\x02}q\x00(K\x02K\x03K\x04K\x06K\x05K\x07u. '
>> i want to store database but i don't know which encoding and data
>> ytpe
>> pls help me
>> sorry for my bed english...
>> thanks all

>
> (i am using postgresql)


The crucial question is: is this binary data or text data? It it's
binary you should use one of the binary types (BLOB for example) and if
it's textual data, you should use some text type - in your case probably
with proper Unicode support.

HTH

robert
Reply With Quote