From: Simon Strandgaard Date: 2004-12-23T07:51:39+09:00 Subject: Re: curses - how to use unicode On Wed, 22 Dec 2004 22:32:01 +0900, Thomas Dickey wrote: > Carlos wrote: > > > On the other other hand, I've found that if you use the functions without > > "w", you can output UTF-8 strings directly :). It's more easy so... > > > And I've also found the secret to make ncursesw print non-ascii characters: > > set the locale LC_ALL to "". > > yes (but it's not portable: won't work with Solaris curses). There are > some post-5.4 fixes to make this work, btw. Ah.. I had set the LANG wrong.. now it works. I see the box.. I see the unicode letters.. I can now sleep well :-) setenv LANG da_DK.UTF-8 I tried and tried.. and now it works.. what a pleasant christmas present.. Thanks Thomas and Carlos. Now we all just wait for ruby-1.8.2 :-) Happy Xmas. -- Simon Strandgaard