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:
JP Rosevear
2001-12-11 22:00:12 +00:00
committed by JP Rosevear
parent 17957b8297
commit 12b70e06ff
4 changed files with 14 additions and 3 deletions

View File

@ -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> 2001-12-11 Ettore Perazzoli <ettore@ximian.com>
* data/evolution.desktop.in (_Name): "Ximian Evolution", not * data/evolution.desktop.in (_Name): "Ximian Evolution", not

View File

@ -677,7 +677,7 @@ int main (int argc, char **argv)
size_t utf8_real_len = strlen (utf8); size_t utf8_real_len = strlen (utf8);
char *pstring; 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 (1);
exit (0); exit (0);

View File

@ -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> 2001-11-20 Dan Winship <danw@ximian.com>
* e-passwords.c (e_passwords_forget_password): Clear the password * e-passwords.c (e_passwords_forget_password): Clear the password

View File

@ -36,7 +36,7 @@ e_pilot_utf8_to_pchar (const char *string)
if (!string) if (!string)
return NULL; return NULL;
res = convert_ToPilotChar ("UTF8", string, strlen (string), &pstring); res = convert_ToPilotChar ("UTF-8", string, strlen (string), &pstring);
if (res != 0) if (res != 0)
pstring = strdup (string); pstring = strdup (string);
@ -53,7 +53,7 @@ e_pilot_utf8_from_pchar (const char *string)
if (!string) if (!string)
return NULL; return NULL;
res = convert_FromPilotChar ("UTF8", string, strlen (string), &ustring); res = convert_FromPilotChar ("UTF-8", string, strlen (string), &ustring);
if (res != 0) if (res != 0)
ustring = strdup (string); ustring = strdup (string);