Summary: | Non-breaking space ( ) is rendered 0xA0 when copied to Kate via Clipboard (instead of 0x20) | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Rene Schmidt <rene> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rene Schmidt
2003-01-17 22:01:08 UTC
forgot to mention this: I'm using Debian SID in conjunction with Karolina's KDE-3.1-RC6 Subject: Re: Non-breaking space (&nbsp;) is rendered 0xA0 when copied to Kate via Clipboard (instead of 0x20) I have tried using KDE CVS 20031020 Debian Packages and I can not reproduce. Thank you for your bug report. This bug can not be reproduced using the current development (CVS) version of KDE. This suggests that the bug has already been fixed. The bug report will be closed. By the way, Unicode U+00A0 *is* NBSP. I don't see why this would be wrong. Closing as requested. Maybe to fast closed? See what I wrote about that at http://bugs.kde.org/show_bug.cgi?id=60971 ... maybe it's not khtml-only related?! As I wrote I wasn't able to reproduce it last hours. So something strange is going on there... No, when I copy e.g. HTML-beautified PHP or Pascal code from Konqueror spaces (NBSPs also) are rendered A0. Maybe thats technically correct, but that's not what the average user expects. Also, this behaviour causes problems USING scripts copied that way, PHP 4.x and current Free Pascal cannot handle A0 in sources. One has to replace all A0 occurences with 20 via khexedit *by hand* (or at least by search-and-replace). This is a time-waster. I can reproduce this behaviour using 3.1.4 (Gentoo, SuSE...) and I believe to remember even 3.1.92 (KDE 3.2 Alpha, SuSE packages). Please fix this bug... Well I would do it by myself if I could ;) but I'm relatively new to Computer Sciences (freshman!). Thanks. In 3.1.x, if you copy past with select-middle click it should do the conversion 0xA0 -> 0x20. The explicit copy/paste (i.e. with ctrl-c/-v or menu entries) have been fixed to do that in CVS a week or so ago. |