trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2016

Re: Addressbook next encoding issue

From: deloptes <deloptes@...>
Date: Wed, 11 May 2016 22:12:59 +0200
deloptes wrote:

> Hi again,
> 
> it would have been too nice to be true, but there is the next issue in the
> chain.
> When I wrote yesterday "I tested", I meant I build and installed deb and
> restarted the virtual machine. I checked the address book and all the utf8
> chars were still in place.
> 
> Today however I pressed the reload button and got all the utf8 converted
> into ? signs (which is pointing to ascii conversion).
> 
> Looking into the code there is vcardformat and vcardformatimpl.
> 
> I finalized the vcardformat test which checks save and load, but all looks
> good.
> I am going to write a test for vcardformatimpl, but I am not even sure I'm
> looking into the right direction.
> Where and how do I find what is behind the reload button?
> 
> thanks

I think I found it in the resourcefile code ... the thing with the magic
number 20 

I'll be back when I found out something more and probably fix it.

I'm just wondering why in the test code TQTextStream was used and in the
pluginimpl etc TQFile. What is the preference?

I'm just thinking loud, but hope that someone helps a bit with knowledge

regards