Summary: | GB18030: Text Editor cannot read files saved in unicode or UTF8 with GB18030 characters | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Tod Creasey <Tod_Creasey> |
Component: | UI | Assignee: | Kai-Uwe Maetzel <kai-uwe_maetzel> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | nl |
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 13591 |
Description
Tod Creasey
2002-04-23 13:01:01 EDT
Not just a GB18030 issue - the same thing happens in Japanese These are two separate problems: 1. lack of UTF8 or UTF16 support 2. characters lost even when sticking to the filesystem's encoding What is the filesystem encoding in this case? Is it GB18030? Can you reconstruct the problem using: String str = "{Some string with GB18030 chars}"; byte[] bytes = s.getBytes(); String newStr = new String(bytes); str.equals(newStr)? |