AP Vision import

Robert Helling helling at atdotde.de
Sat Apr 15 11:40:29 PDT 2017

Hi Miika,

> On 15. Apr 2017, at 19:10, Miika Turkia <miika.turkia at gmail.com> wrote:
> The problem is that the character encoding in the sample file is
> iso8859-1. Unfortunately we assume the encoding to be UTF-8 on our
> imports. I do not know any efficient way to detect the encoding nor to
> convert the input into UTF-8 in C.

you could use Qt http://doc.qt.io/qt-5/qtextcodec.html <http://doc.qt.io/qt-5/qtextcodec.html> via a little helper function in qthelper.cpp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170415/290bf490/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170415/290bf490/attachment.sig>

More information about the subsurface mailing list