charset and language of C strings?

I'd like to find an algorithm to determine the charset and language
(in the sense of those terms defined by IETF RFC 2277,
http://info.internet.isi.edu:80/in-notes/rfc/files/rfc2277.txt) of a C
string, probably using the information returned by a call to setlocale:

	current_locale = setlocale (LC_ALL, NULL);

Is this in any way standardized?  Are there good heuristics that
can be used?

Bill
------
 Bill Janssen  <janssen@parc.xerox.com> (650) 812-4763  FAX: (650) 812-4777
 Xerox Palo Alto Research Center, 3333 Coyote Hill Rd, Palo Alto, CA  94304
 URL:  ftp://ftp.parc.xerox.com/pub/ilu/misc/janssen.html

Received on Thursday, 5 March 1998 21:38:02 UTC