diff -r 4891d49809bb -r 2b3996fc09a1 core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_text_encoding.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_text_encoding.htm Mon Jul 19 15:31:48 2010 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_text_encoding.htm Mon Jul 19 16:13:24 2010 -0500 @@ -1,43 +1,43 @@ - - - - - - - text_encoding - - - - -

text_encoding

-

Identifies the files source text encoding format to the compiler.

-
Syntax
-

#pragma text_encoding ( "name" | unknown | reset [, global] )

-
Parameters
-

name

-
-

The IANA or MIME encoding name or an OS-specific string that identifies the text encoding. The compiler recognizes these names and maps them to its internal decoders:

-

system US-ASCII ASCII ANSI_X3.4-1968
- ANSI_X3.4 UTF-8 UTF8 ISO-2022-JP
- CSISO2022JP ISO2022JP CSSHIFTJIS SHIFT-JIS
- SHIFT_JIS SJIS EUC-JP EUCJP UCS-2 UCS-2BE
- UCS-2LE UCS2 UCS2BE UCS2LE UTF-16 UTF-16BE
- UTF-16LE UTF16 UTF16BE UTF16LE UCS-4 UCS-4BE
- UCS-4LE UCS4 UCS4BE UCS4LE 10646-1:1993
- ISO-10646-1 ISO-10646 unicode

-
-

global

-
-

Tells the compiler that the current and all subsequent files use the same text encoding. By default, text encoding is effective only to the end of the file.

-
-
Targets
- All platforms.
-
Remarks
-

By default, #pragma text_encoding is only effective through the end of the file. To affect the default text encoding assumed for the current and all subsequent files, supply the “global” modifier.

-

This pragma corresponds to the Source Encoding option . The default setting is ASCII.

-

- - - - - + + + + + + + text_encoding + + + + +

text_encoding

+

Identifies the files source text encoding format to the compiler.

+
Syntax
+

#pragma text_encoding ( "name" | unknown | reset [, global] )

+
Parameters
+

name

+
+

The IANA or MIME encoding name or an OS-specific string that identifies the text encoding. The compiler recognizes these names and maps them to its internal decoders:

+

system US-ASCII ASCII ANSI_X3.4-1968
+ ANSI_X3.4 UTF-8 UTF8 ISO-2022-JP
+ CSISO2022JP ISO2022JP CSSHIFTJIS SHIFT-JIS
+ SHIFT_JIS SJIS EUC-JP EUCJP UCS-2 UCS-2BE
+ UCS-2LE UCS2 UCS2BE UCS2LE UTF-16 UTF-16BE
+ UTF-16LE UTF16 UTF16BE UTF16LE UCS-4 UCS-4BE
+ UCS-4LE UCS4 UCS4BE UCS4LE 10646-1:1993
+ ISO-10646-1 ISO-10646 unicode

+
+

global

+
+

Tells the compiler that the current and all subsequent files use the same text encoding. By default, text encoding is effective only to the end of the file.

+
+
Targets
+ All platforms.
+
Remarks
+

By default, #pragma text_encoding is only effective through the end of the file. To affect the default text encoding assumed for the current and all subsequent files, supply the “global” modifier.

+

This pragma corresponds to the Source Encoding option . The default setting is ASCII.

+

+ + + + +