Article # 555, added by Geoworks, historical record
| first | previous | index | next | last |

DBCS character constants for localization.



Q. Are the character constants, like '\0' or '\n', dealt with correctly
   in the DBCS environment? Or is there a more localizeable way to put 
   null chars and carriage returns in TCHAR strings?

A. Those will work fine as long you have TCHAR strings. You could also
   use C_NULL and C_CARRIAGE_RETURN from unicode.h. Note that if you
   want to compile DBCS geodes with C code, you'll need to do so with
   the PC SDK as HighC doesn't support TCHAR (wchar).