eglib: checking for locale_charset function