[fxruby-users] FXRuby and Unicode

Jeroen van der Zijp jeroen at fox-toolkit.org
Thu Sep 28 10:55:47 EDT 2006

On Thursday 28 September 2006 08:09, Lyle Johnson wrote:
> On Sep 28, 2006, at 2:10 AM, Philippe Lang wrote:
> > Hi,
> >
> > There have been posts in the fox mailing-list recently, regarding a  
> > problem with european characters with accents, like "é", "è", "à",  
> > "ä"... They all appear as squares on the screen.
> >
> > The answer of Jeroen is:
> >
> >> When you compile FOX, make sure -DUNICODE is passed;
> >> without it, FOX will try to access the system with 8-bit
> >> characters; this works for ASCII but not for larger code sets.
> >
> > Is it possible to compile next version of FXRuby with this option?  
> > I guess it is not for the moment, since I have exactly the same  
> > problem.]\
> Philippe, I will look into this. I was unaware of this problem.

I'm not 100% sure if the FXRuby glue needs to be compiled with this;
but certainly, FOX itself should be.  

The "outward face" FOX presents is UTF8, so as long as your app accesses
the system via FOX, the FOX library will convert UTF8 to UTF16 behind the scenes.

		- Jeroen

More information about the fxruby-users mailing list