diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-11 03:57:36 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-11 03:57:36 +0000 |
commit | d0ca163f0daaafafa02e14399ee2c5dd66df8895 (patch) | |
tree | 24c78c48d0ff544e4ef521a556a5b0731c78a77c /docs | |
parent | 9300fb8acbfd434f26e6aac07aa5a360e9c9fadd (diff) | |
download | ATCD-d0ca163f0daaafafa02e14399ee2c5dd66df8895.tar.gz |
ChangeLogTag:Sat Jun 10 20:51:56 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ACE-guidelines.html | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html index 0cd68414957..c53fa526f6d 100644 --- a/docs/ACE-guidelines.html +++ b/docs/ACE-guidelines.html @@ -711,8 +711,23 @@ Foo::bar () <li><strong>WCHAR conformity</strong><p> - <!-- @@ UNICODE: update --> - For now, don't worry about it. + <ul> + <li>For ACE, use ACE_TCHAR instead of char for strings and ACE_TEXT () + around string literals. Exceptions are char arrays used for data + and strings that need to remain as 1 byte characters. + + <li>If you have a char string that needs to be converted to ACE_TCHAR, + use the ACE_TEXT_CHAR_TO_TCHAR () macro. If you have a ACE_TCHAR + string that needs to be converted to a char string, use the + ACE_TEXT_ALWAYS_CHAR () macro + + <li>Do not use the Win32 TCHAR macros. The wide character-ness of ACE + is separate from UNICODE and _UNICODE. + + <li>For TAO, don't use ACE_TCHAR or ACE_TEXT. The CORBA specification + defines APIs as using char. So most of the time there is no need + to use wide characters. + </ul> <li><strong>Exceptions</strong><p> |