Search Postgresql Archives

How to convert Big5 to UTF8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, All,
  I create a database which encoding is UTF8, and create a table test 
create table test ( name varchar);
  I insert a data '\244\350' encoding is Big5, I wish translate them to
UTF8, so I use 
  insert into test values ('convert('\244\350' using big5_to_utf_8));
  I got an error:
  ERROR:  invalid byte sequence for encoding "UNICODE": 0xe8;
  
  How could I do for this problem? any ideas.

Alex CS Huang
	




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux