[Interest] Question about QTextStream and codecs

Murphy, Sean smurphy at walbro.com
Fri May 26 19:52:09 CEST 2017


> You should set the codec to UTF-8 in both the input and output
> QTextStream.

Yeah, that is what I ended up doing since it certainly makes more 
sense to set it on both QTextStreams. I was just curious why the 
intermediate step where I was only setting the codec on the output 
stream got the result I wanted. I figured I would've needed to 
explicitly do it on both to have success.

Sean



More information about the Interest mailing list