Re: Detecting UTF-8 Locale Question

2003-03-27 Thread Jungshik Shin
On Wed, 26 Mar 2003, Otto Stolz wrote: > Edward H Trager wrote: > > > (1) Is examination of the LC_CTYPE environment variable on UNIX-like > > environments a sufficient way of detecting locale? > > No, see . > -

Re: Detecting UTF-8 Locale Question

2003-03-26 Thread Otto Stolz
Edward H Trager wrote: (1) Is examination of the LC_CTYPE environment variable on UNIX-like environments a sufficient way of detecting locale? No, see . See also: - -

Re: Detecting UTF-8 Locale Question

2003-03-26 Thread Jungshik Shin
Muhammad Asif wrote: My initial plan for finding out about the current locale is that the program will, at start up, look at the LC_CTYPE environment variable. If that variable is defined and contains the substring "UTF-8" or regex-able After calling setlocale(LC_ALL, ""), you should use nl_lan

Re: Detecting UTF-8 Locale Question

2003-03-25 Thread Muhammad Asif
My initial plan for finding out about the current locale is that the program will, at start up, look at the LC_CTYPE environment variable. If that variable is defined and contains the substring "UTF-8" or regex-able variants thereof (like "utf8" on Linux), then everything is fine. If not present,

Re: Detecting UTF-8 Locale Question

2003-03-25 Thread James H. Cloos Jr.
> "Edward" == Edward H Trager <[EMAIL PROTECTED]> writes: Edward> (1) Is examination of the LC_CTYPE environment variable on Edward> UNIX-like environments a sufficient way of detecting locale? If you are going to look at the env yourself, rather than using the relevant libraries, you must lo

Re: Detecting UTF-8 Locale Question

2003-03-25 Thread Frank da Cruz
> On Tue, Mar 25, 2003 at 12:01:11 -0500, Edward H Trager wrote: > > > > (3) Aside from xterm or mlterm running under Cygwin, are there other UTF-8 > > competent terminals available on Win32? Which one are "the best"? > > PuTTY supports UTF-8, and is open source. > You can also use Kermit 95:

Re: Detecting UTF-8 Locale Question

2003-03-25 Thread Noah Levitt
On Tue, Mar 25, 2003 at 12:01:11 -0500, Edward H Trager wrote: > > (3) Aside from xterm or mlterm running under Cygwin, are there other UTF-8 > competent terminals available on Win32? Which one are "the best"? PuTTY supports UTF-8, and is open source. Noah

Detecting UTF-8 Locale Question

2003-03-25 Thread Edward H Trager
Hope some of the gurus with programming experience who read this list can provide me with some additional insight or pointers to resources about the following (NOTE: I've already looked at Markus Kuhn's FAQ): QUESTIONS: (1) Is examination of the LC_CTYPE environment variable on UNIX-like environ