[QBS] QBS Process readStdOut UTF8 encoding

Jicquel Dorian dorian.jicquel at mana-sys.fr
Thu Jan 15 16:48:14 CET 2015


Le 15/01/2015 16:36, Christian Kandeler a écrit :
> On 01/15/2015 04:30 PM, Jicquel Dorian wrote:
>> Hi,
>> I'm currently using svn info with a qbs process to retrieve some
>> repository informations under OS X 10.9 (subversion 1.8.10) but the
>> output show some display issues like the accents.(using throw
>> process.readStdOut)
>> The problem is i can't retrieve some informations due to these encoding
>> problems , and the fact that it is working well with os x terminal , i
>> suppose it could be qbs having some issues with utf8 output.
> Have you tried calling setCodec() on the process?
>
>
> Christian
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
Well it seems to work with process.setCodec("ISO 8859-1"); , but if you 
check in the qbs documentation no setCodec function is mentionned , 
after some research i've found this one in TextFile Service documentation.
Thank you for your answer and have a nice day.
Dorian.



More information about the Qbs mailing list