This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64688 - I18N - Diff window ignore source file encoding
Summary: I18N - Diff window ignore source file encoding
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker with 1 vote (vote)
Assignee: issues@versioncontrol
URL:
Keywords: I18N
: 56318 58942 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-19 20:09 UTC by tprochazka
Modified: 2007-07-12 14:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot from NB dev build 200510261858 (48.48 KB, image/png)
2005-10-27 20:06 UTC, tprochazka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2005-09-19 20:09:13 UTC
I have set in Options -> Editing -> Java Sources -> Default Encoding: UTF-8
When I use CVS function DIF, files are show badly, in default system codepage.
Comment 1 Maros Sandor 2005-09-21 15:43:02 UTC
Fixed encoding in Diff views.

/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/diff/DiffStreamSource.java,v
 <--  DiffStreamSource.java
new revision: 1.10; previous revision: 1.9
Comment 2 tprochazka 2005-10-22 19:31:06 UTC
I tested it in netbeans-5_0-daily-bin-200510201800 and problems still exists.
In server side is bad encoding.

Can somebody confirm it?

I use UTF-8 encoding of source file:
Options -> Editing -> Java Sources -> Default Encoding: UTF-8
Comment 3 tprochazka 2005-10-27 20:06:47 UTC
Created attachment 26411 [details]
Screenshot from NB dev build 200510261858
Comment 4 tprochazka 2005-10-27 20:11:40 UTC
As you can see on the screenshots, this proble still exists :-(
Comment 5 _ pkuzel 2005-11-14 14:57:01 UTC
*** Issue 58942 has been marked as a duplicate of this issue. ***
Comment 6 _ pkuzel 2005-12-08 15:53:50 UTC
Needs an encoding detection API.
Comment 7 tprochazka 2005-12-08 15:58:45 UTC
Automatic encoding detection will be great, but now suffice when Netbean use 
the same Encoding in Diff windows as is in editor. I have set, that all source 
code is UTF-8. Is this problem use this settings also in Diff windows?
Comment 8 _ pkuzel 2005-12-09 18:12:44 UTC
There was typo, .java files handled:

Checking in EncodedReaderFactory.java;
/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/EncodedReaderFactory.java,v
 <--  EncodedReaderFactory.java
new revision: 1.9; previous revision: 1.8
done
Comment 9 _ pkuzel 2006-01-18 16:08:10 UTC
*** Issue 56318 has been marked as a duplicate of this issue. ***
Comment 10 Tomas Stupka 2007-07-12 14:27:46 UTC
could not reproduce. seems to be gone.