<div dir="ltr">Thanks Michael ... I'm trying that out. <br><br>Faisal<br><br><div class="gmail_quote">On Fri, Aug 8, 2008 at 5:41 PM, Michael Stone <span dir="ltr"><<a href="mailto:michael@laptop.org">michael@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Here's the relevant part:<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
File "/usr/share/sugar/services/shell/activityregistryservice.py", line<br>
90, in FindActivity<br>
if name.find(key) != -1 or bundle_id.find(key) != -1:<br>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2:<br>
ordinal not in range(128)<br>
</blockquote>
<br></div>
The code in question is not unicode-safe or the locale is not set<br>
properly. Check out the use of the string "encode()" method in other<br>
parts of Sugar to properly convert unicode objects to string objects.<br><font color="#888888">
<br>
Michael<br>
</font></blockquote></div><br></div>