Hello,

I'm using: PyQt4, OS X 10.7.5

My system has fonts to display both unicode characters 0x1200 and 0x1250 (that is, both glyphs display fine in Mac's character viewer).

However, with PyQt, I'm getting some strange behaviour. For example:
Qt Code:
  1. #!/usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. '''
  4. Created on 19 November 2012
  5.  
  6. @author: nick
  7. '''
  8.  
  9. import sys
  10.  
  11. from PyQt4.QtGui import QApplication, QWidget
  12. from PyQt4.QtWebKit import QWebView
  13.  
  14. # Constants
  15.  
  16. HTML = u"<html><body>++؀؀\u1250++</body></html>"
  17.  
  18. # Main
  19.  
  20. app = QApplication(sys.argv)
  21.  
  22. widget = QWidget()
  23.  
  24. widget.resize(320, 240)
  25. widget.setWindowTitle("Hello, World!")
  26. widget.show()
  27.  
  28. webView = QWebView(widget);
  29. webView.setHtml(HTML);
  30. webView.show()
  31.  
  32. sys.exit(app.exec_())
To copy to clipboard, switch view to plain text mode 
displays the correct character in the window, but if I change the HTML string to:
Qt Code:
  1. HTML = u"<html><body>++؀؀\u1200++</body></html>"
To copy to clipboard, switch view to plain text mode 
only "++<empty box>++" displays.

Why might this be?