Oh well...

it definitely *is* a conversion problem. And it seems to be promoted by
the fact that my locale's character set is Latin-15 (which is similar to
Latin-1 but also contains the € sign, among others). At least this
explains why "ä" and "ü" are the only characters so far that don't work:

"ä" is e4, "ü" is fc in Latin-1/Latin-15. Translated to UTF-8, that
becomes c3 a4 and c3 bc. When you translate that to unicode (UCS-2) one
more time, a4 becomes 20ac and bc becomes 0152. Then some stupid peace
of code translates the values back to UTF-8 using the wrong (probably
Latin-1) codec, and both bytes suddenly become "?", aka 3f - and that's
exactly what appears in my project file: c3 3f for both "ä" and "ü".
This combination is not a valid UTF-8 encoding, however, so it's
replaced with "?" in the final decoding step, and dvbcut tries to open a
file named "ÄÖÜ?ö?ß.ts" - which of course doesn't exist.

Did I mention that Qt sucks?

-- 
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

Reply via email to