[Gnucash-changes] r14365 - gnucash/trunk - HBCI data is already in utf8. Don't recode into the local charset

David Hampton hampton at cvs.gnucash.org
Wed Jun 14 18:34:51 EDT 2006


Author: hampton
Date: 2006-06-14 18:34:50 -0400 (Wed, 14 Jun 2006)
New Revision: 14365
Trac: http://svn.gnucash.org/trac/changeset/14365

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c
Log:
HBCI data is already in utf8. Don't recode into the local charset
(which may not be utf8).


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-06-14 22:30:38 UTC (rev 14364)
+++ gnucash/trunk/ChangeLog	2006-06-14 22:34:50 UTC (rev 14365)
@@ -1,3 +1,8 @@
+2006-06-14  David Hampton  <hampton at employees.org>
+
+	* src/import-export/hbci/gnc-hbci-utils.c: HBCI data is already in
+	utf8. Don't recode into the local charset (which may not be utf8).
+
 2006-06-14  Christian Stimming  <stimming at tuhh.de>
 
 	* src/import-export/hbci/gnc-hbci-utils.c: Similarly ensure for

Modified: gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c	2006-06-14 22:30:38 UTC (rev 14364)
+++ gnucash/trunk/src/import-export/hbci/gnc-hbci-utils.c	2006-06-14 22:34:50 UTC (rev 14365)
@@ -636,12 +636,7 @@
 
 const char *gnc_hbci_book_encoding()
 {
-#if HAVE_LANGINFO_CODESET
-  char* encoding = nl_langinfo(CODESET);
-#else
-  char* encoding = "UTF-8";
-#endif
-  return encoding;
+  return "UTF-8";
 }
 
 const char *gnc_hbci_AQBANKING_encoding()



More information about the gnucash-changes mailing list