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 106436 - I18N - local history does not show multibyte correctly on left side
Summary: I18N - local history does not show multibyte correctly on left side
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Localhistory (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-06-12 22:54 UTC by Ken Frank
Modified: 2007-12-11 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (26.36 KB, image/gif)
2007-06-12 23:07 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-06-12 22:54:27 UTC
running in ja locale and using multibyte in java class name and data, which is legal.

am not changing the default utf-8 project encoding (new feature for nb6)
(its utf-8 but it still shows chars ok of the default locale user is in when running
ide, which is the system locale; for me its solaris ja locale which is euc encoding.

showing the local history window, the multibyte is not shown correctly; compare with right side of gif
which is correct.

I am guessing that some changes/assumptions related to the feq implenentation might have caused this problem
in that local history code might be assuming euc-jp encoding vs utf8.

the reason for this guess is that, if change the project encoding to euc-jp, create a new java file, and use mbyte,
the local history left side is same as right side and shows correct multibyte.
Comment 1 Ken Frank 2007-06-12 23:07:35 UTC
Created attachment 43577 [details]
image
Comment 2 Ken Frank 2007-06-12 23:09:08 UTC
clarification on the proj encoding property - user should not need to change it for default
case which is, they are in some locale when running ide and using the characters of that locale
in files - those chars should be shown correctly.
Comment 3 Tomas Stupka 2007-06-13 09:34:10 UTC

*** This issue has been marked as a duplicate of 85257 ***
Comment 4 Tomas Stupka 2007-06-28 10:58:33 UTC
no duplicate - LH doesn't handle the diff streams the same way as cvs and svn
Comment 6 Ken Frank 2007-10-01 18:02:26 UTC
verifying.

appears ok when using both default utf-8 encoding or euc-jp encoding of project (when in ja locale)
on variety of file types like java, text, html, jsp, xml.

if user changes proj encoding then edit previously created file, its not expected that all non ascii chars
should show ok, whether in local history or elsewhere, since the prev file was created in another encoding.

ken.frank@sun.com
Comment 7 Masaki Katakai 2007-12-11 16:08:25 UTC
Still happens on Windows. filed as bug 123829.