Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 433967

Summary: DBCS4.4: Shift JIS encoded characters are garbled
Product: [ECD] Orion Reporter: Akihiko Takajo <takajo>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: camle, elijahe, ken_walker, Mike_Wilson, Silenio_Quarti, simon_kaegi, steve_northover
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Screenshot
none
SJIS text file none

Description Akihiko Takajo CLA 2014-05-02 04:58:11 EDT
Created attachment 242625 [details]
Screenshot

The default encoding is Shift JIS on Windows Japanese. 
Shift JIS encoded characters are garbled in Orion Editor. 

Does Orion 5.0 support Shift JIS encoding?

Steps:
1. Create a file on Windows Japanese and input some Japanese characters.
e.g.) open by notepad, input Japanese characters and save.
2. Import the file
3. Open the text file in the Editor
=> Japanese Characters are garbled.

related to 409288?
Comment 1 Akihiko Takajo CLA 2014-05-02 05:04:11 EDT
Created attachment 242626 [details]
SJIS text file
Comment 2 Silenio Quarti CLA 2014-05-08 12:25:50 EDT
Work in progress in this branch:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/log/?h=silenio/bug433967

The current state is:

- user can specify what is the current encoding in the editor preferences
- files will be loaded using the specified encoding
- files are still saved with UTF-8 encoding
Comment 3 Mike Wilson CLA 2015-01-08 08:27:16 EST
Silenio, what is the status of the work in comment 2.
Comment 4 Silenio Quarti CLA 2015-10-06 16:23:55 EDT
Patch has been pushed to master. Being able to see the file in a different encoding is useful in some cases.