<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">ça marche impec, je ne connaissais pas cette fonction u.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci Bastien et Hubert.</font></div>
<br />
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>Bastien HERMITTE <<a href="mailto:bhermitte@b2pweb.com">bhermitte@b2pweb.com</a>> écrit:</b></font></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;"> Bonjour,</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Vous pouvez essayer de mettre un 'u' devant les chaines pour forcer l'encodage unicode :</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;"><i>chemin_videos=makepath(u'c:\\',u'Captvty',u'Vidéos')</i></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;"><i>create_desktop_shortcut('Videos', chemin_videos)</i></font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Cordialement,</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Bastien</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Le 10/12/2015 11:48, informatique a écrit :</font></span></div>
<br />
<br />
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">je doit faire un raccourci bureau d'un dossier comportant un accent "Vidéos", avec la fonction create_desktop_shortcut, mais cela provoque une erreur</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Code :</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;"><i>chemin_videos=makepath('c:\\','Captvty','Vidéos')</i></font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;"><i>create_desktop_shortcut('Videos', chemin_videos)</i></font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Erreur WAPT :</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">2015-12-10 11:39:40,530 CRITICAL Package chal-captvty-ecole not installed due to erro</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">= setup.install()\n  File "c:\\users\\admini~1\\appdata\\local\\temp\\waptdkjs4b\\set</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">ile "C:\\wapt\\lib\\ntpath.py", line 108, in join\n    path += "\\\\" + b\nUnicodeDec</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Comment faire pour éviter ce problème avec les dossiers comportant des accents ?</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci.</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Sébastien.</font></span></div>
<br />
<br />
<br />
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" color="#000000" style="font-family:Courier;font-size:12pt;color:#000000;">_______________________________________________</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" color="#000000" style="font-family:Courier;font-size:12pt;color:#000000;">WAPT mailing list</font></span></div>
<div align="left" style="text-align:left;"><a href="mailto:WAPT@lists.tranquil.it"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">WAPT@lists.tranquil.it</font></span></a></div>
<div align="left" style="text-align:left;"><a href="http://lists.tranquil.it/listinfo/wapt"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">http://lists.tranquil.it/listinfo/wapt</font></span></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</body>
</html>