[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do UTF-8?

From: Pierre Abbat
Subject: Re: How to do UTF-8?
Date: Thu, 16 Mar 2006 16:27:41 -0500
User-agent: KMail/1.8.3

On Wednesday 15 March 2006 18:09, Thomas Dickey wrote:
> The ncurses test program (see the sources test/ncurses.c) uses setlocale()

It calls setlocale(LC_ALL,""). My LANG is en_US.UTF-8, so I get UTF-8 
encoding. I'm going to set up the company I'm writing this for with Putty in 
UTF-8, so this doesn't really matter, but how would I handle strings if some 
other encoding were in use? I'd like all strings to be stored as UTF-8 
internally, regardless of locale.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]