[fxruby-users] FXDCWindow::drawText encoding

Jannis Pohlmann info at sten-net.de
Wed Mar 23 10:20:46 EST 2005

Hi all.

I just started experimenting with the FOX drawing functions. After 
having a little problem with
text positioning, I know stumbled into an encoding problem (at least, I 
think so).

Whenever I want to draw something like "foo\nbar" or "foo\r\nbar" I get 
those ugly squares (which
likely symbolize a char the font (?) is not able to display).

Screenshot is attached. My system's encoding is UTF-8, by the way.

Any ideas?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto-TodoListEditor: Zeichentests.png
Type: image/png
Size: 4363 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/fxruby-users/attachments/20050323/77abf591/Zeichentests.png

More information about the fxruby-users mailing list