Hi! Ralph Glasstetter wrote:
> The important thing is obviously to specify the stream encoding explicitely > (no matter which type), since under Windows and Linux different default > encodings are used otherwise... At least if you want a particular output format. If you don't specify an encoding, the resulting file will use your locale's encoding. > probably the locale set by $LANG, which is > not there under Windows and therefore using none at all... > This could also explain your observation with (implicite) Latin-15 and > toCSring... Exactly. toCString() produced UTF-8, and QTextStream ran that through an additional Latin1->Latin15 conversion step (which, of course, is plain nonsense). Setting the target encoding to Latin1 as well turns off the extra conversion (Latin1->Latin1 is a no-op). -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DVBCUT-user mailing list DVBCUT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dvbcut-user