Martin Preuss schrieb:
Hi again,

On Wednesday 01 February 2006 10:41, Martin Preuss wrote:
[...]

We could disable that function for now, but I don't want to move it.
Currently it is not used, but I plan to maybe use it in the transaction
matcher code (which is in app.cpp, so it will depend on that code being
within that folder).

[...]
Oh, don't disable it, I see that it is used in the "Detect Duplicates" code (not in app.cpp, but it is used).

That's what I thought, too, so I didn't intend to touch it.

Well, the decision is up to you -- this is your application. I only said that IMHO the *easiest* solution is to move this into a place where you can directly use the QString, and let QT handle the utf8/8bit conversions.

For example, I would also think that any kind of "Transaction Matcher" will have to be toolkit-specific due to the close interactions between its GUI and data, including callback functions and frequently passed strings. So IMHO you could just as well move its code to a qt-specific section.

Or, to put it the other way round: If you really want to create a toolkit-independent "Transaction matcher" that also works correctly on the utf8 data, then you would need to implement a fuzzy matching based on unicode and/or wchar (16-bit chars) and/or literal utf8 anyway. Otherwise the usefulness of a transaction matcher is limited to latin1 locales anyway. I'd pick either QT or glib (of gtk) instead, so you don't have to implement the correct utf8 handling yourself. You know, reimplementing the wheel and all that :-)

Christian


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to