HtmlEasyPrinting Preview/Print Question about unicode

Hello guys,

I'm trying to use HtmlEasyPrinting from wx.html to achieve
something :slight_smile:
I have a simple html text (with a 'nasty' char there):

<html>
<head>
      <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8
"/>
</head>

<body>
      <h4>&#344;</h4>
</body>
<html>

When I preview using PreviewText() method, everything looks ok on the
screen.
But if I try to actually printing, the results are not the ones
expected (the char is not printed correctly, it seems like it's a
wrong encoding or such).

Have anyone any idea about the Printing capabilities or limitations?
Or how can I print such characters "şţâî..." correctly?
Is the PrintText() method working only with ASCII range of chars?

Thanks!

p.s. using python 2.7 with wx 2.8.11.0 (gtk2-unicode)

Please ask this on the wx-users mail list. The folks who implemented this code will be more likely see your question there.

···

On 11/7/11 1:02 AM, Cristian wrote:

Hello guys,

I'm trying to use HtmlEasyPrinting from wx.html to achieve
  something :slight_smile:
  I have a simple html text (with a 'nasty' char there):

<html>
  <head>
       <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8
  "/>
  </head>

<body>
       <h4>&#344;</h4>
  </body>
  <html>

When I preview using PreviewText() method, everything looks ok on the
  screen.
  But if I try to actually printing, the results are not the ones
  expected (the char is not printed correctly, it seems like it's a
  wrong encoding or such).

Have anyone any idea about the Printing capabilities or limitations?
  Or how can I print such characters "şţâî..." correctly?
  Is the PrintText() method working only with ASCII range of chars?

Thanks!

p.s. using python 2.7 with wx 2.8.11.0 (gtk2-unicode)

--
Robin Dunn
Software Craftsman