Hi Miika,

> On 15. Apr 2017, at 19:10, Miika Turkia <[email protected]> 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

Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to