charset error in backup

Mar 19, 2016 at 4:47 PM
Hi when I use to generate backup function have several chacarterios example of errors:
Allah ‡ SILICON FIXED - DEL LARAS
Allah ‡ SILICON remove it VEL PAR - YACIMA
Allah ‡ The STRASS - YACIMA

My backup routine

using ( MySqlConnection conn2 = new MySqlConnection ( constring ) )
            {
                using ( MySqlCommand cmd2 = new MySqlCommand ( ) )
                {
                    using ( MySqlBackup mb = new MySqlBackup ( cmd2 ) )
                    {
                        cmd2.Connection = conn2 ;
                        conn2.Open ();
                        mb.ExportToFile ( sv.FileName ) ;
                        conn2.Close ();
                    }
                }
            }
Coordinator
Mar 20, 2016 at 5:37 AM
Hi, I am unable to identify the cause of problem.
Can you provide more information, sample data, sample code or sample project which I can reproduce the error?
Mar 20, 2016 at 12:18 PM
is simply what I do , only generate this routine codes and texts ç ' ' ^ ~ all out with this error, perform only this line of code is an example of my database

CREATE TABLE produtos (
codproduto int(11) NOT NULL AUTO_INCREMENT,
codbarras varchar(20) DEFAULT NULL,
unidade varchar(5) DEFAULT NULL,
peso double(15,3) DEFAULT '0.000',
localizacao varchar(255) DEFAULT NULL,
vrvarejo double(15,2) DEFAULT NULL,
vratacado double(15,2) DEFAULT NULL,
vrbalcao double(15,2) DEFAULT NULL,
comissao int(5) DEFAULT '0',
marca varchar(100) DEFAULT '',
grupo varchar(100) DEFAULT '',
foto longblob,
estoque double(15,3) DEFAULT NULL,
estoquemin double(15,3) DEFAULT NULL,
vrcompra double(15,2) DEFAULT NULL,
nome varchar(255) DEFAULT NULL,
descricao longtext,
dtcadastro date DEFAULT NULL,
categoria varchar(40) DEFAULT NULL,
dtmodificacao date DEFAULT NULL,
usermodificacao int(11) DEFAULT NULL,
ativo char(1) DEFAULT 'S',
codfabricante varchar(80) DEFAULT NULL,
BASE_ICMS varchar(5) DEFAULT 'II',
codinterno varchar(80) DEFAULT NULL,
ncm varchar(100) DEFAULT NULL,
ipi double(15,2) DEFAULT NULL,
cst varchar(3) DEFAULT NULL,
PRIMARY KEY (codproduto)
) ENGINE=InnoDB AUTO_INCREMENT=8010 DEFAULT CHARSET=latin1;