Bug 92254 - KWrite doesn't read UTF8
Summary: KWrite doesn't read UTF8
Status: RESOLVED DUPLICATE of bug 85215
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-28 12:50 UTC by Giovanni Venturi
Modified: 2004-11-25 00:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kwriteshot.png (38.08 KB, image/png)
2004-10-29 16:06 UTC, Giovanni Venturi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Venturi 2004-10-28 12:50:02 UTC
Version:           4.3 (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.3.4
OS:                Linux (i686) release 2.6.9

When I open KWrite the I load a new file and I select UTF8 coding, KWrite open File not in UTF8 coding, I suspect it's a bad way of getting the selected encoding from the combobox
Comment 1 Anne-Marie Mahfouf 2004-10-29 00:38:56 UTC
How do you select utf8 coding? where is the file from? can you give a precise example please?
Comment 2 Giovanni Venturi 2004-10-29 12:07:33 UTC
> How do you select utf8 coding? where is the file from? can you give a
> precise example please?
Open KWrite, then from menu File/Open appears a file dialog on the right upper 
corner there is a combobox with all encodings available. Select UTF8 and 
select a file that you know it's UTF-8 encoding. For example a translation 
file: kde-i18n/it/messages/kdeextragear-1/k3b.po from KDE CVS HEAD and see.
I think I write correctly the bug description, why did you ask me a precise 
one?

Comment 3 Anne-Marie Mahfouf 2004-10-29 14:48:41 UTC
So you can NEVER set your KWrite on utf-8 encoding?
Can you take a screenshot showing your encoding and a bit of the messed file? Is the behaviour the same with Kate?

I am interested in your bug as I use a lot of utf-8 (khangman and klettres data plus translations) and I want Kate to be fixed. However I can open KWrite with utf-8, it's only in certain special cases that I have a problem.

Comment 4 Giovanni Venturi 2004-10-29 16:06:20 UTC
Well, sometimes I can load as UTF-8 others time no. It's random.

In the shot I attached. You can see "sincerit" and strange character.
it has to be "sincerità". It's the Italian KHangman "hard.txt"
It is difficult to reproduce this but cause of its random way of doing.


Created an attachment (id=8077)
kwriteshot.png
Comment 5 Anne-Marie Mahfouf 2004-10-29 18:17:31 UTC
I would like to see the View -> Set Encoding menu item on your screenshot. What does it say? Obviously your file is not opened as utf-8 but it will be difficult to make sense of the bug if it's random. It must be related to something. I can open all KHangMan files as utf-8 with KWrite, I just tried with hard.kvtml in kde-i18n/data/kdeedu/khangman. If you could try that one and set KWrite View -> Set Encoding to utf-8 just to see if it resolves it?
Maybe your bug is only in 3.3.0.
Comment 6 Christoph Cullmann 2004-11-25 00:26:20 UTC
seems to be this problem 85215 

*** This bug has been marked as a duplicate of 85215 ***