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 134216 - I18N - Java editor doesn't decode cp1251 encoded literals
Summary: I18N - Java editor doesn't decode cp1251 encoded literals
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-04-30 05:58 UTC by bao00
Modified: 2008-09-26 13:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bao00 2008-04-30 05:58:19 UTC
The java editor of NB 6.1 doesn't decode cp1251 encoded literals.
The editor of the NB 6.0.1 does it OK.
Comment 1 Marian Petras 2008-04-30 12:57:51 UTC
Reassigned to java/editor.
Comment 2 Jiri Prox 2008-04-30 13:34:21 UTC
What is your project encoding?
Comment 3 bao00 2008-04-30 15:02:41 UTC
The project encoding is "windows-cp1251".
The project was created in NB 6.0.1 and i didn't have any problems with encoding.
Then i open this project in NB 6.1 russians letters are shown as squares.

Probably it's not a stable bug because once editor showed russian letters correctly for a while.
Comment 4 bao00 2008-04-30 15:05:28 UTC
The project encoding is "windows-cp1251".
The project was created in NB 6.0.1 and i didn't have any problems with encoding.
When i open this project in NB 6.1 russians letters are shown as squares.

Probably it's not a stable bug because once editor showed russian letters correctly for a while.
Comment 5 Ken Frank 2008-05-20 18:19:36 UTC
to dev, could it be that in opening previous project, even one from release
that had feq implemented, that encoding view might be using utf-8 rather
than encoding of the project ?
(vs creating new project) 

if so, seems like it would be more general issue and a p2 ?

to bao00, what locale/regional setting are you in when running netbeans ?

ken.frank@sun.com
Comment 6 bao00 2008-05-23 11:52:18 UTC
I use KDE (OS Ubuntu).
The country option is set to "Russia".
The default language is "British English". "US English" and "Russian" are also installed.
Comment 7 Ken Frank 2008-05-23 16:13:17 UTC
bao00,

thanks for the information; let me ask some followup questions:

- in your ubuntu terminal window, please send result of typing
echo $LC_ALL
echo $LANG

- in the netbeans Help->About dialog box, what does it say for the line that has
System: as its first part ?

ken.frank@sun.com
Comment 8 pribyl 2008-09-26 13:57:49 UTC
//closing INCOMPLETE issues older than a 4 weeks

bao00, please reopen the issue if you still expectin difficulties with this one. Try to answer kfrank's questions. I 
hope it will help to solve the problem.

Thanks