Pessoal,
Ao tentar persistir um campo XML no SQL 2008, utilizando o Entity Framework 4, recebo o seguinte erro:
(((System.Data.UpdateException)$exception)._innerException)._message
XML parsing: line 1, character 38, unable to switch the encoding
Já tentei utilizar os seguintes headers para o XML, mas ambos sem sucesso:
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="iso-8859-1 "?>
Help me!
Abraços,
Eliezer
Eliezer Perlmutter Microsoft Student Partner MCPD Windows/ASP.NET/Enterprise Application Developer 3.5 MCPD Windows/Web/Enterprise Application Developer http://eliezer.net.br/