Niclas Hedhman wrote:
On Wednesday 31 August 2005 17:34, Emmanuel Lecharny wrote:So you always should use a new String("Jérôme", "UTF-8") before sending data to Ldap. It applies to search filters, too.I think you are somewhat mistaken. The above constructor doesn't exist, nor makes any sense.
Constructor doesn't exist, but how about:
try
{
String string = new String( "Jérôme".getBytes( "UTF-8" ), "UTF-8" );
}
catch (UnsupportedEncodingException e)
{
}
Enrique
