aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-12-12 06:00:12 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-12-12 06:00:12 +0800
commit12b70e06ff18468084531f338e0ac16553616ffa (patch)
tree4b65e868d23b6b249959456e04977c233fdd6980
parent17957b82973240ce944196c993d042b3ba568076 (diff)
downloadgsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.tar
gsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.tar.gz
gsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.tar.bz2
gsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.tar.lz
gsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.tar.xz
gsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.tar.zst
gsoc2013-evolution-12b70e06ff18468084531f338e0ac16553616ffa.zip
use UTF-8 as the char set when testing pilot link
2001-12-10 JP Rosevear <jpr@ximian.com> * configure.in: use UTF-8 as the char set when testing pilot link 2001-12-10 JP Rosevear <jpr@ximian.com> * 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
-rw-r--r--ChangeLog4
-rw-r--r--configure.in2
-rw-r--r--e-util/ChangeLog7
-rw-r--r--e-util/e-pilot-util.c4
4 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index df75f70b6a..c7079f77c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-10 JP Rosevear <jpr@ximian.com>
+
+ * configure.in: use UTF-8 as the char set when testing pilot link
+
2001-12-11 Ettore Perazzoli <ettore@ximian.com>
* data/evolution.desktop.in (_Name): "Ximian Evolution", not
diff --git a/configure.in b/configure.in
index fcbe7c6f8c..1bbf90401c 100644
--- a/configure.in
+++ b/configure.in
@@ -677,7 +677,7 @@ int main (int argc, char **argv)
size_t utf8_real_len = strlen (utf8);
char *pstring;
- if (convert_ToPilotChar ("UTF8", utf8, utf8_real_len, &pstring) == -1)
+ if (convert_ToPilotChar ("UTF-8", utf8, utf8_real_len, &pstring) == -1)
exit (1);
exit (0);
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 <jpr@ximian.com>
+
+ * 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 <danw@ximian.com>
* 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);