<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>Bonjour,</FONT></DIV>
<DIV><FONT face=Verdana size=2>J'ai une base de données MySQL, sur un serveur
Gentoo, encodée en 'latin1'.</FONT></DIV>
<DIV><FONT face=Verdana size=2>J'utilise les librairies python suivantes pour
m'y connecter:</FONT></DIV>
<DIV><FONT face=Verdana size=2> - MySQL-Python
1.2.1_p2</FONT></DIV>
<DIV><FONT face=Verdana size=2> - ZMySQLDA 2.0.8</FONT></DIV>
<DIV><FONT face=Verdana size=2>Quand je fais une requête sur la base, il
semblerait que les résultats me reviennent au format 'utf-8'.</FONT></DIV>
<DIV><FONT face=Verdana size=2>J'ai créé un fichier sitecustomize.py qui définit
mon encodage par défaut à 'latin-1'.</FONT></DIV>
<DIV><FONT face=Verdana size=2>Rien n'y fait, j'ai toujours mes résultats en
'utf-8'.</FONT></DIV>
<DIV><FONT face=Verdana size=2>Ce qui m'étonne c'est de ne pas retrouver de
paramètre sur mon connecteur ZMySQLDA qui me permettrait de définir l'encodage
désiré, comme c'est le cas pour le connecteur ZPsycoPgDA.</FONT></DIV>
<DIV><FONT face=Verdana size=2>Avez vous une idée sur ce qui peut provoquer
l'envoi des résultats au format 'utf-8' ?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Merci d'avance</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Cordialement</FONT></DIV>
<DIV>
<HR>
<FONT style="FONT-SIZE: 9px; COLOR: #00adce; FONT-FAMILY: Verdana"><FONT
style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #0c4da2">Cédric
Marfil</FONT><BR>Concepteur Réalisateur Intégrateur Confirmé<BR><B>Tél.
direct:</B> 03.20.65.34.82<BR><B>Mail:</B> <A
href="mailto:cedric.marfil@capgemini.com">cedric.marfil@capgemini.com</A><BR><BR><FONT
style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #0c4da2">Cap</FONT><FONT
style="FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #00adce">gemini</FONT><BR>181
rue Jules Delcenserie<BR>59700 Marcq en Baroeul<BR></FONT></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.<br>
<br>
</font></td></tr></table>