Summary: | Konqueror does not show previews for video files with umlauts in file name | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Dennis Reif <kde> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tomyun |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Dennis Reif
2005-01-23 21:19:07 UTC
Checked with a file named "1öäü.mpg" - works. Used current 3.4 CVS. Can you give more details how to reproduce ? I am using the latest SuSE rpms of 3.4. The problem seems to be related to utf-8 encoding which is the SuSE default. I recently checked files with latin1 encoded file names. Previews are displayed for those files. CVS commit by orlovich: More sensible encoding BUG:97740 M +3 -2 videocreator.cpp 1.10 --- kdemultimedia/xine_artsplugin/tools/thumbnail/videocreator.cpp #1.9:1.10 @@ -29,4 +29,5 @@ #include <qpixmap.h> #include <qdialog.h> +#include <qfile.h> #include <qimage.h> #include <qpainter.h> @@ -309,5 +310,5 @@ bool VideoCreator::create(const QString bool success = false; - if (xine_open( stream, path.ascii() )) + if (xine_open( stream, QFile::encodeName ( path ).data() )) { xine_video_frame_t frame; |