Jungshik Shin wrote on 2002-10-21 23:15 UTC: > One way I can think of is to first detect the codeset name for UTF-8 > (utf-8, utf8,utf_8 and uppercase variants)
Overkill. There isn't a single implementation on this planet that doesn't call it "UTF-8". For this encoding, we do fortunately have exactly one name only. No search necessary. Markus -- Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK Email: mkuhn at acm.org, WWW: <http://www.cl.cam.ac.uk/~mgk25/> -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/