Bob Jones wrote:
>
> In a C program, how do you code Unicode string literals on the following
> platforms:
> NT
> Unix (Sun, AIX, HP-UX)
> AS/400
We devised a solution for this problem in the C99 Standard.
The "solution" is named "UCN", for Universal Character Notation, and
is essentially to us
>In a C program, how do you code Unicode string literals on the following
>platforms:
>NT
>Unix (Sun, AIX, HP-UX)
>AS/400
>
could you explain this more specificallly. maybe give an example where you
need this
>Everything I have read says not to use wchar_t for cross platform apps
>because the s
Bob Jones asked:
> In a C program, how do you code Unicode string literals on the following
> platforms:
> NT
> Unix (Sun, AIX, HP-UX)
> AS/400
>
A somewhat cumbersome, but completely reliable crossplatform way to
code occasional Unicode string literals in a C program is:
static unichar thai2[
In a C program, how do you code Unicode string literals on the following
platforms:
NT
Unix (Sun, AIX, HP-UX)
AS/400
Everything I have read says not to use wchar_t for cross platform apps
because the size is not uniform, i.e. NT it is an unsigned short (2 bytes)
while on Unix it is an unsigned in
4 matches
Mail list logo