Adam Fedor wrote:
> On 2005-12-09 11:03:06 -0700 Pablo Di Noto <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>>
>>> I am doing setTitle: on a window with a string containing unicode 
>>> characters (ä,ö,ü). I only see the title up to the non-ascii character, the 
>>> rest is truncated. Should this work or does GNUstep not support unicode 
>>> strings in window titles yet? I encounter this problem on Solaris 10 with 
>>> Window Maker 0.9.
>> I reported something very similar as a Gorm bug on savanah (See 
>> http://savannah.gnu.org/bugs/?func=detailitem&item_id=15029 )
>>
> 
> Currently, window titles get converted to ascii (lossyCString) before being 
> set. WM can certainly handle unicode now (it couldn't back in the day when I 
> wrote that). See
> 
> back/Source/x11/XGWindowServer.m(-titlewindow::)
> 
> Should be easy enough to fix, if some one wants to do it ;-)
> 

I already had looked into fixing this yesterday. It really isn't too
hard, for what Andreas wants we could just convert the string to Latin1,
which window manages need to support, instead of using lossyCString. But
I would prefer an UTF8 solution, which need a bit more thinking and
currently the weather is so bright over here.

Fred


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to