[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to do UTF-8?
From: |
Thomas Dickey |
Subject: |
Re: How to do UTF-8? |
Date: |
Wed, 15 Mar 2006 18:09:21 -0500 (EST) |
On Wed, 15 Mar 2006, Pierre Abbat wrote:
I'm writing an application using ncurses 5.4 on an Ubuntu breezy box, which
has utf-8 as its default encoding. The application uses utf-8 internally. How
do I tell ncurses to use utf-8, and can I draw borders with Unicode
characters?
The ncurses test program (see the sources test/ncurses.c) uses setlocale()
and when ncurses is configured using --enable-widec, provides examples in
ncurses.c for line-drawing, etc., in menu F.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net