<html><head>
<meta name="viewport" content="width=device-width" /><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /></head><body>Thanks I'll give <br>
<br>
xxxx ® and xxxx® are registered trademarks of xxxxxxxxx.'.decode('utf8')<br>
<br>
a whirl<br>
<br>
Allan <br>
-- <br>
Sent from my Android phone with <a href="http://mail.com">mail.com</a> Mail. Please excuse my brevity.<br><br><div style="line-height: 1; padding: 0.3em">On 14/04/2016, 17:23 Chris Clark <<a href="http://chris.clark">chris.clark</a>@actian.com> wrote:<blockquote class="gmail_quote" style="margin: 0.8ex 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Thursday, April 14, 2016 at 9:04:04 AM UTC-7, Allan Biggs wrote:<br />
> I am a python novice I am just using<br />
> it via<a href="http://xlsxwriter.readthedocs.org/" target="_blank"> http://xlsxwriter.readthedocs.org/</a><br />
> to produce a .xlsx spreadsheet - the Ä<br />
> went directly to the python code which objected to it. when<br />
> it was run<br />
...<br />
<br />
><br />
> this .....<br />
><br />
> worksheet1.write( 43,<br />
> 0,'xxxx' u'®' 'and xxxx' u'®' ' are registered trademarks<br />
> of xxxxxxxxx.' ,format0)<br />
<br />
<br />
Two options (there are others but these are least effort):<br />
1) you could use Actian Director to generate exports<br />
2) change the python code you emit - which is sounds like this would be your preferred options<br />
<br />
For 2) there are two further options (one may not work):<br />
<br />
a) Just use a str type (and use Python 2.x) - there is a chance xlsxwriter may check the type and fail<br />
b) Just use a str type and convert to unicode, e.g.:<br />
<br />
<br />
worksheet1.write(43, 0, 'xxxx ® and xxxx® are registered trademarks of xxxxxxxxx.'.decode('utf8') ,format0)<br />
<br />
<br />
i.e.:<br />
<br />
'xxxx' u'®' 'and xxxx' u'®' ' are registered trademarks of xxxxxxxxx.'<br />
<br />
becomes<br />
<br />
'xxxx ® and xxxx® are registered trademarks of xxxxxxxxx.'.decode('utf8')<br />
<br />
_______________________________________________<br />
Info-ingres mailing list<br />
Info-ingres@lists.planetingres.org<br />
<a href="http://lists.planetingres.org/mailman/listinfo/info-ingres" target="_blank">http://lists.planetingres.org/mailman/listinfo/info-ingres</a><br />
</blockquote></div></body></html>