Re: [wxhaskell-users] textCtrl and unicode

2009-07-09 Thread Jaap van der Woude
Windows experience with non-Ascii symbols: I tried to print the suits (\x03 through \x06) for a buttoned solitair game. It didn't work. They do appear on the teletype ghc console, but on the wx buttons only boring squares are printed. Did I compile wx Widgets ... I don't know, and I don't want t

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric Y. Kow
On Wed, Jul 08, 2009 at 22:14:47 +0100, Eric wrote: > Thanks. I've run the UTF8Sampler - Some stuff appears but no Chinese, > Korean, Tibetan, Mongolian or Japanese characters. By any chance, could it just be a matter of fonts? -- Eric Kow PGP Key

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric Kow
On Wed, Jul 08, 2009 at 20:13:35 +0100, Eric wrote: > I don't know - I'm using the binary that came with the Windows > distribution... Hmm, I'm afraid I can't help much there. I imagine it's either an issue with the fonts or the distribution, as I have the Unicode stuff working fine on my Linux

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric
Eric Kow wrote: > On Wed, Jul 08, 2009 at 20:13:35 +0100, Eric wrote: > >> I don't know - I'm using the binary that came with the Windows >> distribution... >> > > Hmm, I'm afraid I can't help much there. > > I imagine it's either an issue with the fonts or the distribution, > as I have th

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric Kow
On Wed, Jul 08, 2009 at 19:38:50 +0100, Eric wrote: > import Graphics.UI.WX > > main = start $ do > f <- frame [text := "Traqer"] > p <- panel f [] > t <- textCtrl p [text := "\x3008\x3009", clientSize := sz 300 300] > set f [layout := container p $ fill $ widget t, clientSize := sz 400 40

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric Kow
On Wed, Jul 08, 2009 at 20:27:30 +0100, Eric Kow wrote: > I'll attach the code to UTF8Sampler if it helps (this is in the > darcs repository, but for some reason, it was omitted from the > distribution, probably an oversight). Whoops, you'll want this file too -- Eric Kow

Re: [wxhaskell-users] textCtrl and unicode

2009-07-08 Thread Eric
Eric Kow wrote: > > Is your wxWidgets compiled with --enable-unicode? > I don't know - I'm using the binary that came with the Windows distribution... -- Enter the BlackBerry Developer Challenge This is your chance