Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342390 - DBCS4.1: Not handle CJK Extension B as common prefix when externalizing strings
Summary: DBCS4.1: Not handle CJK Extension B as common prefix when externalizing strings
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 02:30 EDT by Masaihko Maedera CLA
Modified: 2019-09-13 11:57 EDT (History)
2 users (show)

See Also:


Attachments
Bug342920.zip (7.59 KB, application/zip)
2011-05-10 05:16 EDT, Masaihko Maedera CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaihko Maedera CLA 2011-04-11 02:30:32 EDT
Build Identifier: I20110407-2200

OS:RedHat Enterprise Linux 6.0
Eclipse SDK
Version: 4.1.0
Build id: I20110407-2200

PDE does not handle CJK Extension B as common prefix when it externalize strings.


Reproducible: Always

Steps to Reproduce:
1. Create a plug-in project. (no special option is necessary.)
2. Create a class with CJK Extension B and put a string field as follows.
---------------------------------
class U20B9F_
Comment 1 Curtis Windatt CLA 2011-04-11 11:31:08 EDT
Can you please provide more detail?  What happens when you create the class and what do you expect to happen?  What encoding settings need to be in place to reproduce?

If this only involves creating a class file, this may be a JDT limitation.
Comment 2 Masaihko Maedera CLA 2011-05-10 05:16:22 EDT
Created attachment 195186 [details]
Bug342920.zip

Sorry for my late response.
Bugzilla seems not to like CJK Extension B, neither.
My message was missing after CJK Extesion B.

I attached a sample project.

1. Import Bug342390.zip into your workspace.
   (Make sure the project encoding is UTF-8.)
2. Open U20B9F_X.java under src/(default package)
3. Select [Source] -> [Externalize Strings]
4. The dialog puts a prefix automatically, generated from the file name.
5. The dialog shows an error, "Some keys are not valid java identifiers."

CJK Extension B can be used as a Java identifier,
by the result from "static boolean Character.isJavaIdentifierPart(int cp)"

This is my reference.
http://www.ibm.com/developerworks/java/library/j-unicode/index.html
Comment 3 Curtis Windatt CLA 2011-05-10 12:53:44 EDT
We will try to investigate for 3.7
Comment 4 Curtis Windatt CLA 2011-05-18 15:13:49 EDT
We are unable to find a fix in time for 3.7 inclusion.
Comment 5 Eclipse Genie CLA 2019-09-13 11:57:47 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.