Bug 121877

Summary: copy/paste to oo from web page with scandinavian characters produces carbage
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Janne Karhunen <Janne.Karhunen>
Component: OpenOffice.orgAssignee: Mark Gordon <mtgordon>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: 64bit   
OS: All   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Janne Karhunen 2005-10-09 13:40:45 UTC
To reproduce:   
   
1) start konqueror and go to web page with scandinavian characters. Example:   
   http://www.helsinginsanomat.fi/uutiset/tuoreet/   
2) start openoffice (writer)   
3) copy/paste block of web page from konqueror to oo   
   
Result: scandinavian characters (äöå) are broken. Copying from Firefox works 
ok. LANG setting does not make a difference.
Comment 1 Stephan Kulow 2005-10-09 14:12:47 UTC
hmm, never heared of that. It seems, OOo requires something else  
Comment 2 Lubos Lunak 2005-10-17 13:10:34 UTC
It seems to work perfectly fine here with KDE3.4.2, OOo-1.9.125 (and the Czech locale). Please provide all steps how to reproduce the error with a fresh en_US user.
Comment 3 Lubos Lunak 2005-10-17 14:14:58 UTC
I see. It works fine with MMB paste, is broken with Ctrl+V paste. I'd guess it is an OOo bug.
Comment 4 Lubos Lunak 2005-10-17 14:31:28 UTC
Confirmed, it's OOo. For MMB paste, it selects COMPOUND_TEXT from Qt's offer of formats, which is locale-encoded and that works fine in this case. For Ctrl+V paste it however selects "text/html;charset=UTF-8", for which Qt sends e.g. :
=== start ===
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<body>rekisteröitymistä.</body>
=== end ===
And properly encoded as utf-8 of course, I checked.
Comment 5 Janne Karhunen 2005-11-05 10:44:56 UTC
KDE not supported anyway,