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
This commit is contained in:
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user