From 12b70e06ff18468084531f338e0ac16553616ffa Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 11 Dec 2001 22:00:12 +0000 Subject: use UTF-8 as the char set when testing pilot link 2001-12-10 JP Rosevear * configure.in: use UTF-8 as the char set when testing pilot link 2001-12-10 JP Rosevear * e-pilot-util.c (e_pilot_utf8_to_pchar): use UTF-8 instead of UTF8 as the source char set (e_pilot_utf8_from_pchar): use UTF-8 instead of UTF8 as the destination char set svn path=/trunk/; revision=14995 --- e-util/ChangeLog | 7 +++++++ e-util/e-pilot-util.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 9b0f4d0ec1..1b7dcf1da4 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,10 @@ +2001-12-10 JP Rosevear + + * e-pilot-util.c (e_pilot_utf8_to_pchar): use UTF-8 instead of + UTF8 as the source char set + (e_pilot_utf8_from_pchar): use UTF-8 instead of UTF8 as the + destination char set + 2001-11-20 Dan Winship * e-passwords.c (e_passwords_forget_password): Clear the password diff --git a/e-util/e-pilot-util.c b/e-util/e-pilot-util.c index 3846c2fe7f..c1da384317 100644 --- a/e-util/e-pilot-util.c +++ b/e-util/e-pilot-util.c @@ -36,7 +36,7 @@ e_pilot_utf8_to_pchar (const char *string) if (!string) return NULL; - res = convert_ToPilotChar ("UTF8", string, strlen (string), &pstring); + res = convert_ToPilotChar ("UTF-8", string, strlen (string), &pstring); if (res != 0) pstring = strdup (string); @@ -53,7 +53,7 @@ e_pilot_utf8_from_pchar (const char *string) if (!string) return NULL; - res = convert_FromPilotChar ("UTF8", string, strlen (string), &ustring); + res = convert_FromPilotChar ("UTF-8", string, strlen (string), &ustring); if (res != 0) ustring = strdup (string); -- cgit v1.2.3