From: Hans U. N. <hu...@us...> - 2005-05-02 19:29:00
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16830/libexif Modified Files: exif-entry.c Log Message: portability: replace problematic ?: syntax and (temporarily) deactivate bind_textdomain_codeset Index: exif-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-entry.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -p -d -r1.86 -r1.87 --- exif-entry.c 27 Apr 2005 20:40:54 -0000 1.86 +++ exif-entry.c 2 May 2005 19:28:49 -0000 1.87 @@ -560,7 +560,12 @@ exif_entry_get_value (ExifEntry *e, char }; /* FIXME: This belongs to somewhere else. */ - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + /* libexif should use the default system locale. + * If an application specifically requires UTF-8, then we + * must give the application a way to tell libexif that. + * + * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + */ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); /* We need the byte order */ |