History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23940
Type: Bug Bug
Status: Reopened Reopened
Priority: Normal Normal
Assignee: Anton Makeev
Reporter: Alex Lin
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Local History: Can't recognize Chinese comment

Created: 18 Dec 07 06:42   Updated: 23 Dec 08 06:11
Component/s: Local History
Fix Version/s: Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. Picture 1.png
(22 kb)

2. Picture 1.png
(94 kb)

3. Picture 2.png
(7 kb)

4. Picture 3.png
(8 kb)

5. screenshot-1.jpg
(28 kb)
Environment:
Mac OS 10.4.11
JDK 1.5.0_13
Issue Links:
Relates
This issue relates to:
IDEADEV-33239 Local History: national characters in... Normal Closed
 

Build: 7,590
Fixed in build: 7,608
Severity: Medium


 Description  « Hide
It can't recognize Chinese comments and mark them as changed.

 All   Comments   Work Log   Change History      Sort Order:
Alex Lin - 09 Jul 08 07:31
The bug still exists in build 8526.

Anton Makeev - 15 Jul 08 13:27
Alex, what is the default encoding for your project files?
You can check it in the Settings->File/Directory Options.

Alex Lin - 15 Jul 08 13:39
The default encoding for the project files is GBK.

Alex Lin - 15 Jul 08 13:43
The default encoding of my first project in Selena is Big5, and the default encoding of my second project in Diana is GBK.

Anton Makeev - 15 Jul 08 13:47
Ok, this encoding is for property files. What is the default? (In a screenshot you can see where to find the setting)

Alex Lin - 15 Jul 08 13:51
The default encoding is GBK.

Alex Lin - 08 Dec 08 06:12
I still can't work on IDEA 8.1 EAP build 9540.
The local history become so useless if the sources contains any Chinese characters.
It really bothered me for a long time.

Irina Petrovskaya - 08 Dec 08 17:39
are the Chinese characters are shown corrupted after all changes, or after some specific ones only? I've tried the GTK locale on my Linux box, and the local history shows the symbols correctly for me always, except the changes like file rename/move.

Another question: do you use some version control in your project?


Alex Lin - 09 Dec 08 04:40
The Chinese characters are shown corrupted after all changes, like Project open, Run server, Rebuild project.
I do not use any VCS besides local history.

Alexander Chernikov - 21 Dec 08 18:25
9590: reproduced. It seems the bug really happens on Mac, but does not on Windows, with the same conditions.
Tested on both OS with a IDE default encoding = UTF-8, project encoding = GBK (no more specific encoding settings), with the single java source file with Chinese chars in a comment. On Windows no false changes are shown, on Mac they are.

Alex Lin - 23 Dec 08 06:11
The problem seems to be solved on IDEA 8.1 EAP build 9572.