Bug 259341 - [fiximprove]: Preprocessor does not handle Chinese in source code well
Summary: [fiximprove]: Preprocessor does not handle Chinese in source code well
Status: CLOSED FIXED
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: Project Builder (show other bugs)
Version: 0.9.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2008-12-19 03:49 EST by Rocks Wang CLA
Modified: 2009-07-09 09:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rocks Wang CLA 2008-12-19 03:49:24 EST
The source code contains Chinese characters (GBK encoding), if build project with preprocessor enabled and run, then the MIDlet cannot display constant Chinese correctly, runtime loaded Chinese is ok; if re-build project (you must clean project first otherwise the source will not be recompiled automatically) with preprocessor disabled, then the displaying will be ok.
Comment 1 Gang(Allen) Ma CLA 2008-12-21 22:14:16 EST
Fixed, and code commited to SVN, you can test it in the next nightly build, thanks.

(In reply to comment #0)
> The source code contains Chinese characters (GBK encoding), if build project
> with preprocessor enabled and run, then the MIDlet cannot display constant
> Chinese correctly, runtime loaded Chinese is ok; if re-build project (you must
> clean project first otherwise the source will not be recompiled automatically)
> with preprocessor disabled, then the displaying will be ok.

Comment 2 Gustavo de Paula CLA 2009-07-09 09:58:12 EDT
released on MTJ 1.0