Hello. I am writing an application in dabo, which requires the use of
greek captions and so on. However I have encountered a problem with grid
captions.

I am using Windows XP SP2, although I wrote the application on Ubuntu
Linux. In Windows, I used the binary installer (which is version 0.8.2 I
think - although it should have been updated automatically), and I used
the latest version to write the app in Linux. This is my GUI so far
(screenshot taken in Linux):

http://img385.imageshack.us/img385/4070/screenshot1sh6.png

As you can see, there are a lot of greek captions.

When I try to run the same app in Windows, most captions are displayed
correctly, even the data. However, the captions of the column headers of
the grid to the left are not displayed, and I get a bunch of errors like
this one:

Traceback (most recent call last):
  File
"e:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\ui\uiwx\dGrid.py",
line 123, in GetColLabelValue
    self.grid._paintHeader(col)
  File
"e:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\ui\uiwx\dGrid.py",
line 2349, in _paintHeader
    dc.DrawLabel("%s" % colObj.Caption, trect, wxav|wxah)
  File "E:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line
3584, in DrawLabel
    return _gdi_.DC_DrawLabel(*args, **kwargs)
  File "E:\Python25\lib\encodings\cp1253.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8c in position 1:
character maps to <undefined>

Any ideas as to what might be the problem? Is there a way to solve it?

Alexander Altanis


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to