[wxPython] Character maps without unicode support?

Hi All,

I am using wxGTK and am wondering if there is a way to retrieve the currently used character map (like ISO 8859-1).

If someone could point me in the correct direction it would help greatly as I really do not want to experiment with the GTK2 code.

Many thanks

Mike Albon

wxLocale.GetSystemEncodingName

VS

···

mikea-wxpythonusers@yuri.org.uk wrote:

I am using wxGTK and am wondering if there is a way to retrieve the
currently used character map (like ISO 8859-1)

Since it's a static in C++ it will be wxLocale_GetSystemEncodingName() in
Python.

···

mikea-wxpythonusers@yuri.org.uk wrote:
> I am using wxGTK and am wondering if there is a way to retrieve the
> currently used character map (like ISO 8859-1)

wxLocale.GetSystemEncodingName

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Yep I found that thanks to you both.

I am writing an Instant Message application for Jabber (actually Iruka
was a good source of code to help me start. - thanks to the Iruka
people)

I have a different problem now, and that receiving non-locale supported
characters. Is there any way I can use UTF8 fonts in text controls.

Also is there anyway I can get display idle time from wxWindows so I
know if a user is using his console or not?

Many thanks

Mike Albon

···

On Thu, 2002-09-05 at 01:38, Robin Dunn wrote:

> mikea-wxpythonusers@yuri.org.uk wrote:
> > I am using wxGTK and am wondering if there is a way to retrieve the
> > currently used character map (like ISO 8859-1)
>
> wxLocale.GetSystemEncodingName

Since it's a static in C++ it will be wxLocale_GetSystemEncodingName() in
Python.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users