Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Eclipse/CDT suppport for C/C++ sources in UTF-16character encoding

The short answer is yes,
in detail:
 
For files that belong to the workspace the parser accesses the content via the resources plugin and thus uses whatever encoding is configured for the file.
 
For files that are outside of your workspace (and picked up via an include search path) the system default encoding
is used, which is obtained via 'System.getProperty( "file.encoding" )'
 
Markus.


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Hilliard, Bill
Sent: Thursday, April 24, 2008 10:07 PM
To: CDT General developers list.
Subject: [cdt-dev] Eclipse/CDT suppport for C/C++ sources in UTF-16character encoding

I have a question about source file character encoding in Eclipse and CDT.  Does CDT support C/C++ source files in the UTF-16 character encoding?

I’ve been looking through the Eclipse and CDT documentation and have not been able to find a definitive answer.  I’ve found bits and pieces of info in the platform and debug support documentation, but nothing that pulls it all together.

 

Thanks in advance,

 

Bill

 


Back to the top