W3C home > Mailing lists > Public > www-international@w3.org > January to March 1998

charset and language of C strings?

From: Bill Janssen <janssen@parc.xerox.com>
Date: Thu, 5 Mar 1998 18:37:40 PST
To: www-international@w3.org
Message-Id: <98Mar5.183740pst."16140"@holmes.parc.xerox.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:52 GMT