Error when trying execute context.SaveChanges(): \"UTF8\": 0xe3 0x6f"
Posted: Mon 24 Mar 2014 15:35
I'm start using Devart.Data 5.0.907.0 - Devart.Data.Postgresql 7.3.115.0 - Devart.Data.PostgreSql.Entity 7.3.115.6 and get a error about invalid bytes sequences for codification "UTF8": 0xe3 0x6f when execute SaveChanges with referent DbContext.
I have setted "Unicode=true" in connectionstring section but this not solve the problem.
This is the SQL generated from Devart for a insert: (see the "data" parameter with quotation marks, without "unicode=true" the quotatin are preced with a / character escape)
And until the proper error message is returned with bad foramation:
thanks for help
I have setted "Unicode=true" in connectionstring section but this not solve the problem.
This is the SQL generated from Devart for a insert:
Code: Select all
INSERT INTO public.tab_logcad(tabela, idreg, idopera, acao, motivo, "data", hora, maquina, tabelapai, idregpai) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING id
And until the proper error message is returned with bad foramation:
Code: Select all
sequência de bytes é inválida para codificação "UTF8": 0xe3 0x6f