Chinese characters in a string(GDC)

ryuka Yuki001 at gmail.com
Tue May 15 08:06:46 PDT 2007


Aziz K. Wrote:

> Hello ryuka,
> 
> Your problem appears to me like you don't use an editor that saves the  
> source file as Unicode. I'm pretty sure your editor uses a codepage to  
> save the source file, otherwise the DMD front-end wouldn't complain about  
> that (which is the same for dmd and gdc.)
Thank you , My editor is code::blocks , and I find the code page settings. it is windows-936 ,but g++ works well on this code page when using chinese characters.
Anyway ,I try to change the code page to pthers.However ,When the d source stored in some other code pages , the compiler works well  (no compile errors ) but my application display strange characters which aren't the characters I type in the source .. and g++ programs display these strange characters too when using these code pages .So there is still a problem about using chinese on my os.
Thank you ..



More information about the Digitalmars-d mailing list