[Bug 205903] New: accentuated chars are converted into a mess during picasa web export

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 205903] New: accentuated chars are converted into a mess during picasa web export

Bugzilla from gpetetin@gmail.com
https://bugs.kde.org/show_bug.cgi?id=205903

           Summary: accentuated chars are converted into a mess during
                    picasa web export
           Product: digikam
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Fedora RPMs

As an example, the french sentence "définitivement un problème avec les
accents, là" becomes "définitivement un problème avec les accents, lÃ" on the
web album.

--
digiKam version 0.10.0
Exiv2 peut écrire dans un fichier Jp2: Oui
Exiv2 peut écrire dans un fichier Jpeg: Oui
Exiv2 peut écrire dans un fichier Png: Oui
Exiv2 peut écrire dans un fichier Tiff: Oui
Exiv2 prend en charge les méta-données XMP: Oui
LibCImg: 130
LibExiv2: 0.18.2
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.3.00 (KDE 4.3.0)
LibKExiv2: 0.6.0
LibKdcraw: 0.5.0
LibLCMS: 118
LibPNG: 1.2.37
LibQt: 4.5.2
LibRaw: 0.7.2
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Élément graphique Marble: 0.8
LibGPhoto2: 2.4.5
Libkipi: 0.4.0

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 205903] accentuated chars are converted into a mess during picasa web export

Bugzilla from clement.cc@gmail.com
https://bugs.kde.org/show_bug.cgi?id=205903


Siu Chung (Clement) Cheung <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Siu Chung (Clement) Cheung <clement cc gmail com>  2009-11-23 02:00:46 ---
Same problem with Chinese characters. This is because there's a bug in the
Picasa plugin's version of mpform.cpp:

72     bool MPForm::addPair(const QString& name, const QString& value, const
QString& contentType)

95      str += "Content-Length: " ;
96     str += content_length.toAscii();
97     str += "\r\n\r\n";
98     str += value.toUtf8();
99     str += "\r\n";
100    
101     m_buffer.append(str.toUtf8());

str is already in utf8 when we convert value to utf8. But we convert it again
before adding it to m_buffer. Obviously that will screw up all the special
characters. I have no idea why each plugin wants to have his copy of the exact
same thing. But the bug was apparently fixed on the Flickr plugin's copy of the
exact same file:

<http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/flickrexport/mpform.cpp?r1=879160&r2=879161&>

Copying the latest code over from the flickr copy fixes the issue.

The patch attached fixes both #199145 and #205903.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 205903] accentuated chars are converted into a mess during picasa web export

Bugzilla from clement.cc@gmail.com
In reply to this post by Bugzilla from gpetetin@gmail.com
https://bugs.kde.org/show_bug.cgi?id=205903





--- Comment #2 from Siu Chung (Clement) Cheung <clement cc gmail com>  2009-11-23 02:02:35 ---
Created an attachment (id=38518)
 --> (http://bugs.kde.org/attachment.cgi?id=38518)
Patch agianst kipi-plugins-0.8.0

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 205903] accentuated chars are converted into a mess during picasa web export [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from gpetetin@gmail.com
https://bugs.kde.org/show_bug.cgi?id=205903


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |PicasaWebExport
            Version|unspecified                 |0.9.0
            Product|digikam                     |kipiplugins
            Summary|accentuated chars are       |accentuated chars are
                   |converted into a mess       |converted into a mess
                   |during picasa web export    |during picasa web export
                   |                            |[patch]




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 205903] accentuated chars are converted into a mess during picasa web export [patch]

Gilles Caulier-4
In reply to this post by Bugzilla from gpetetin@gmail.com
https://bugs.kde.org/show_bug.cgi?id=205903


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
         AssignedTo|[hidden email]       |[hidden email]




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel