Search Postgresql Archives

Encoding Conversion

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

 



Hi,
 
When I´m doing a conversion PostgreSQL returns SCAPES to me besides the desire caracter. Why ?
 
Using Postgresql 8.2:
 
SELECT CONVERT('Rejeição: Duplicidade de NF-e, com diferença na Chave de Acesso [35110100608804000178550010001009471840996034]','UTF8','LATIN1')
 
Result: "Rejeição: Duplicidade de NF-e, com diferença na Chave de Acesso [35110100608804000178550010001009471840996034]"
 
Using Postgresql 9.0:
 
SELECT CONVERT('Rejeição: Duplicidade de NF-e, com diferença na Chave de Acesso [35110100608804000178550010001009471840996034]','UTF8','LATIN1')
 
Result: "Rejei\347\343o: Duplicidade de NF-e, com diferen\347a na Chave de Acesso [35110100608804000178550010001009471840996034]"

Both databases are "encoding latin1".
Both servers are "Linux".

Regards,

Wilton Ruffato Wonrath

 

[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