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 18517 - I18N - Multibyte strings are corrupted when opening via Versioning window
Summary: I18N - Multibyte strings are corrupted when opening via Versioning window
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2001-12-11 10:05 UTC by Keiichi Oono
Modified: 2003-07-01 12:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Japanese test file. This fils can be open on ONLY Solaris. It's EUC-JP encoding. (422 bytes, text/plain)
2001-12-11 10:10 UTC, Keiichi Oono
Details
screen shot when reproducing (37.26 KB, image/jpeg)
2001-12-11 10:13 UTC, Keiichi Oono
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keiichi Oono 2001-12-11 10:05:14 UTC
To reproduce:
    - Set your environment to display Multi-byte correctly.
      As for Japanese, "setenv LANG ja" on Solaris, or install Japanese
      Language support to Windows 2000 English.
    - Create test file which contains multi-byte.
      (I attach my test file)
    - Add CVS repository that test file
    - Open Versioning window by selecting Versioning Explorer
    - Select revision by right button and select Open

The multi-byte strings are corrupted. See attached jpeg for image. However, the
file contains correct multibyte, and you can open by Source Editor and VCS
Groups window.
Comment 1 Keiichi Oono 2001-12-11 10:10:11 UTC
Created attachment 3768 [details]
Japanese test file. This fils can be open on ONLY Solaris. It's EUC-JP encoding.
Comment 2 Keiichi Oono 2001-12-11 10:13:19 UTC
Created attachment 3769 [details]
screen shot when reproducing
Comment 3 Martin Entlicher 2001-12-11 13:51:41 UTC
The problem is probably somewhere in the parsing of command output.
I'll look at it.

Comment 4 Martin Entlicher 2001-12-12 15:30:06 UTC
The bug was caused by StringBufferInputStream, which did not properly
convert characters into bytes. Replaced by ByteArrayInputStream.

Fixed in the main trunk and release33 branch, the fix will appear in
dev and 3.3.1 builds on Dec 13.
Comment 5 Jiri Kovalsky 2001-12-13 17:05:37 UTC
Would it be again Keiichi possible to verify in latest build ? Thanks.
Comment 6 Keiichi Oono 2001-12-14 06:19:48 UTC
Hello Jiri,
I always download from http://www.netbeans.org/downloads-dev.html, but
I can't find Dec. 13 build in that page. Would you give me the point
to download the latest NB dev build? If I need to wait the updating
above download page, I verify after that page has been updated.
Thank you.
Comment 7 Jiri Kovalsky 2001-12-14 07:43:51 UTC
Please use http://www.netbeans.org/builds_archive_release33.html 
archive page. There was some problem with the page you mentioned and 
it was not updated for 2 days. Thanks a lot !
Comment 8 Keiichi Oono 2001-12-14 08:51:04 UTC
Thank you, Jiri!
I've verified on 3.3.1 Dec. 14 dev build (200112140331).
Comment 9 Jesse Glick 2002-12-23 16:37:04 UTC
Consistent use of the I18N keyword.
Comment 10 Quality Engineering 2003-07-01 12:56:29 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.