From 135f84afa2140fc38348b15898a0912e31fb49c5 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 04 Oct 2010 09:20:41 -0400 Subject: [PATCH] - Convert address to utf8 on contacts import --- program/steps/addressbook/import.inc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/program/steps/addressbook/import.inc b/program/steps/addressbook/import.inc index 2390e98..ceb6832 100644 --- a/program/steps/addressbook/import.inc +++ b/program/steps/addressbook/import.inc @@ -134,6 +134,9 @@ $IMPORT_STATS->nomail++; continue; } + + // We're using UTF8 internally + $email = idn_to_utf8($email); if (!$replace) { // compare e-mail address -- Gitblit v1.9.1