Lines Matching refs:utf8
179 char *utf8; in ldaptool_local2UTF8()
185 utf8 = strdup(src); in ldaptool_local2UTF8()
186 return ( utf8 ); in ldaptool_local2UTF8()
653 char *utf8;
668 utf8 = strdup(src);
669 return utf8;
705 utf8 = (char *) malloc( outLen + 1);
706 if( utf8 == NULL ) {
713 resultLen = ucnv_convert( "utf-8", ldaptool_charset, utf8, (outLen + 1), src,
717 free(utf8);
722 utf8 = _convertor(src, FALSE);
723 if( utf8 == NULL )
724 utf8 = strdup(src);
727 return utf8;