Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-22 Thread Dave Tapley
On 20 September 2011 20:57, Dave Tapley wrote: > Hi Eric, > > Am I correct in recalling that you did some of the work to get wxHaskell > supporting unicode? > > I've using wxHaskell with wxWidgets 2.9.2 (the latest development release) > and it seems that any attempt to get back a wxString in Hask

Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-21 Thread Dave Tapley
On 21 September 2011 15:29, eric.kow wrote: > > On Tue, Sep 20, 2011 at 20:57:37 +0100, Dave Tapley wrote: > > Am I correct in recalling that you did some of the work to get wxHaskell > > supporting unicode? > > That's right.  Mostly swapping char with w_char > > > Now the good news is that this i

Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-21 Thread Eric Y. Kow
On Wed, Sep 21, 2011 at 17:44:58 +0200, David Virebayre wrote: > I have no good answer to those questions. But, if I didn't read too > fast, I think wxwidgets uses UTF-16, which is also what is used in > Text. There is a GSoC project to switch Text to to UTF-8 for what it's worth > I've made a li

Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-21 Thread David Virebayre
2011/9/21 Eric Y. Kow : > On Wed, Sep 21, 2011 at 16:36:55 +0200, David Virebayre wrote: >> I have a probably stupid question, but I'll fire it anyways: > > Hmm, worth a thought. > >> Would it make sense to have future versions of wxHaskell support Text >> instead of String ? > > Do GUIs typically

Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-21 Thread Eric Y. Kow
On Wed, Sep 21, 2011 at 16:36:55 +0200, David Virebayre wrote: > I have a probably stupid question, but I'll fire it anyways: Hmm, worth a thought. > Would it make sense to have future versions of wxHaskell support Text > instead of String ? Do GUIs typically manipulate large text fields for whi

Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-21 Thread David Virebayre
I have a probably stupid question, but I'll fire it anyways: Would it make sense to have future versions of wxHaskell support Text instead of String ? David. 2011/9/21 eric.kow : > On Tue, Sep 20, 2011 at 20:57:37 +0100, Dave Tapley wrote: >> Am I correct in recalling that you did some of the wo

Re: [wxhaskell-devel] wxString handling broken when using wx 2.9

2011-09-21 Thread eric.kow
On Tue, Sep 20, 2011 at 20:57:37 +0100, Dave Tapley wrote: > Am I correct in recalling that you did some of the work to get wxHaskell > supporting unicode? That's right. Mostly swapping char with w_char > Now the good news is that this is almost certainly related to the changes to > unicode hand