The old source code files are BIG5 encoded. For some reasons, we have to keep original encoding, when using Eclipse (its default encoding is UTF-8). To use BIG-5 encoding in Eclipse, try to do in this way.
|
Figure 1. The Chinese characters in line 2073 are not shown properly.
|
TODO: Move cursor to project name, click the right button of mouse and select the Properties [Alt+Enter] , then the next window popup.
|
Figure 2. - In Text file encoding, field Other, type BIG. Eclipse starts detecting the encoding method automatically, and finds BIG is not supported. See top of this window. |
|
Figure 3. - While BIG5 is completed, the unsupported message disappeared. Then click Apply button, and OK to back to main window. |
|
Figure 4. - The Chinese characters in line 2073 are shown properly. But line 2078 @#$! |
沒有留言:
張貼留言