<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for clarifying Stephan.<br>
I still don't feel 100% on the encoding issue but certainly a lot
less ignorant than before :)<br>
<br>
Cheers,<br>
frank<br>
<br>
<div class="moz-cite-prefix">On 4/03/16 2:20 am, Stephan Deibel
wrote:<br>
</div>
<blockquote cite="mid:56D83A09.3020705@wingware.com" type="cite">Frank
Rueter | OHUfx wrote:
<br>
<blockquote type="cite">Hm, I'm not having much luck. Apparently
my tooltip and default font is Lucida Grande when running the
code inside Wing, which should be able to display quotation
marks. I tried changing the font to Verdana, as that is what my
host application is using (where I get the corrcet characters),
but to no avail.
<br>
I tried using QtGui.QToolTip.setFont() and
QApplication().setFont() but I was still left with the wrong
characters.
<br>
<br>
Any more ideas?
<br>
</blockquote>
<br>
In Wing, if you are doing this in a shell, the encoding options on
the Debugger > I/O preferences page may be relevant. Also, if
the strings are in a source file, use a coding comment at the top
of the Python file (like "#coding:utf-8"; Wing converts the file
if you change or add this) and be sure you're sending correctly
encoded strings or unicode strings to PySide. The font can matter
if it's missing the necessary unicode glyphs but that probably
isn't the issue in this case.
<br>
<br>
- Stephan
<br>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table style="width: 524px; height: 58px;" border="0">
<tbody>
<tr>
<td style="text-align: center;"><a
href="http://www.ohufx.com"><img
src="cid:part1.07010809.04030704@ohufx.com"
alt="ohufxLogo 50x50"></a></td>
<td style="text-align: center;"><strong><span
style="font-size: 10pt;"><a
href="http://ohufx.com/index.php/vfx-compositing">vfx
compositing</a></span> | <span style="font-size:
10pt;"><strong><a
href="http://ohufx.com/index.php/vfx-customising">workflow
customisation and consulting</a></strong> </span>
</strong></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>