rem: gPrefInt.SetCharPref(pref_string + ".uri", ldapUrl.spec); 
add: gPrefInt.SetUnicharPref(pref_string + ".uri", ldapUrl.spec); 
context: function migrate(pref_string){  if (!gPrefInt) {     try {      gPrefInt = Components.classes["@mozilla.org/preferences;1"];      gPrefInt = gPrefInt.getService(Components.interfaces.nsIPref);    }    catch (ex) {      gPrefInt = null;    }  }  try{    var migrated = gPrefInt.GetBoolPref("ldap_2.prefs_migrated");  }  catch(ex){    migrated = false;  }  if (!migrated) {  try {    var ldapUrl = Components.classes["@mozilla.org/network/ldap-url;1"];    ldapUrl = ldapUrl.getService(Components.interfaces.nsILDAPURL);  }  catch (ex) {    ldapUrl = null;  }  try{    ldapUrl.host = gPrefInt.CopyCharPref(pref_string + ".serverName");    ldapUrl.dn = gPrefInt.CopyCharPref(pref_string + ".searchBase");  }  catch(ex) {  }  try {    var port = gPrefInt.CopyCharPref(pref_string + ".port");  }  catch(ex) {    port = 389;  }  ldapUrl.port = port;  ldapUrl.scope = 0;  gPrefInt.SetCharPref(pref_string + ".uri", ldapUrl.spec);  gPrefInt.SetBoolPref("ldap_2.prefs_migrated", true);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/590b8249e5f06503faa62654996726b2a29e6a4b/pref-directory.js/buggy/mailnews/addrbook/prefs/resources/content/pref-directory.js