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 213232 - Unicode equivalent code rendered as its HTML Character equivalent
Summary: Unicode equivalent code rendered as its HTML Character equivalent
Status: NEW
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Other
: P3 normal (vote)
Assignee: issues@nblocalization
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 12:35 UTC by ariel.mendoza20
Modified: 2012-05-30 13:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
issue screenshot (86.06 KB, image/png)
2012-05-30 12:35 UTC, ariel.mendoza20
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ariel.mendoza20 2012-05-30 12:35:04 UTC
Created attachment 120062 [details]
issue screenshot

In property file for other languages with special characters like France as shown below:

category_text = Cat\u00E9gorie

Open the property file in Netbeans, it's rendered as Catégorie. 

I'm not sure if there is some way I can resolve this, but I tried the following in order, but didn't work:
1. Changed encoding to ISO-8859-1.
2. Restart IDE
3. Rebuild the project
Comment 1 Masaki Katakai 2012-05-30 13:13:51 UTC
Hi Ariel,

I understand this is a correct behavior. NetBeans property editor
is displaying native characters from unicode ascii. At saving files,
it stores in unicode ascii properly.
Comment 2 ariel.mendoza20 2012-05-30 13:56:16 UTC
How it save the HTML character to back unicode is correct. 

It somehow confuses me that if I input the property below, it renders and save it as it is:

category_text = Catégorie

Maybe that is how it should behave, but it's just an extra work to use other editor, find the file within the packages and make changes in case I've inputted an incorrect unicode, because I can't make the correction in Netbeans. 

Is there a way I can configure NetBeans property editor to keep the html unicode as it is, sort of to escape or unescape unicode?