Slávek Banko wrote:
> On Monday 02 of May 2016 08:05:36 deloptes wrote:
> You can try to use the supplied patch. It is a little simpler and uses
> standard TDE macros.
attached the final patch for the vcardparser, vcardformatplugin and testing.
The final problem identified in vcardformatplugin
@@ -41,7 +41,7 @@ bool VCardFormatPlugin::load( Addressee &addressee, TQFile
TQTextStream t( file );
- t.setEncoding( TQTextStream::Latin1 );
+ t.setEncoding( TQTextStream::UnicodeUTF8 );
data = t.read();
but writing to the file sets TQTextStream::UnicodeUTF8.
Patch by Fat-Zer included and testing stuff as explained in the previous
I tested it already and don't see any issue.
It is however debatable if we should not test encoding based on locale, but
I doubt someone today is using something different than utf8