RE: [GD-General] Feedback wanted on POSH
Brought to you by:
vexxed72
From: Crosbie F. <cr...@cy...> - 2003-11-19 11:38:04
|
Hmmn maybe the chars should be like this: typedef uint8 char8; // 8 bit char (no format info) typedef uint16 char16; // 16 bit char (no format info) > etc. And the Unicode stuff happen in the policy section, e.g. typedef char8 char_ascii; // Unsized char able to contain 7bit ASCII typedef char8 char_utf8; // Unsized char able to contain characters in the UTF-8 format typedef char16 char_ucs2; // Unsized char able to contain characters in the UCS-2 format typedef char_utf8 char_unicode; // Unsized char suitable for Unicode strings typedef char_unicode character; // Unsized char suitable for any text purpose |