Bug 87942

Summary: [nls tooling] TVT3.1 #46 - Support of \u Unicode representation in the properties file editor
Product: [Eclipse Project] JDT Reporter: David W Hare <dwhare>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: alexander.glotov, axel, camle, daniel_megert, deepakazad, pietsch
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description David W Hare CLA 2005-03-14 11:07:28 EST
This is an improvement suggestion for IDE editor used for *.properties files.

Create a "Hello, World" project with NLV string to be printed
(the characters must be different from Latin-1 codeset, let's say Russian).

Select Source > Externalize strings, confirm creation of Message.properties and
click Finish.
Message.properties file is shown using \u Unicode representation:
hello_world.0=\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439,
\u041D\u043E\u0432\u044B\u0439 \u0413\u043E\u0434\!

This makes *property files "thing-in-itself" - one can not read it, can not edit
it, can not search through it - only use it for output.

This severely restricts usability of the IDE and makes NLS Message.properties
files hardly usable for any language with non Latin-1 characters.

The suggestion is to add a support of this Unicode representation to the text
editor used for *properties files.

The files should still be stored in \u representation, but they should be
searched, viewed and edited as regular national text to make reading and
modification possible.
Comment 1 David W Hare CLA 2005-03-15 09:46:38 EST
Added TVT3.1 #46 to title for our tracking purposes.
Comment 2 Deepak Azad CLA 2010-10-15 12:07:05 EDT
> The files should still be stored in \u representation, but they should be
> searched, viewed and edited as regular national text to make reading and
> modification possible.
Viewing and editing will become easier with bug 65571. Keeping this bug open for the searching part.
Comment 3 Dani Megert CLA 2010-10-18 05:20:21 EDT
(In reply to comment #2)
> > The files should still be stored in \u representation, but they should be
> > searched, viewed and edited as regular national text to make reading and
> > modification possible.
> Viewing and editing will become easier with bug 65571. Keeping this bug open
> for the searching part.
Filed bug 328019 for that.