RE: Unicode String literals on various

2000-08-13 Thread Edward Cherlin
At 9:58 AM -0800 8/8/00, [EMAIL PROTECTED] wrote: Hi, Antoine. I can continue to dissert on this subject Please! (all of this should finally be cooked in a FAQ anyway), I'll help, which means I need as much of your dissertings as possible. but I do not want to flood the list with a

Re: Unicode String literals on various platforms

2000-08-08 Thread Antoine Leca
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 use the

RE: Unicode String literals on various

2000-08-08 Thread Marco . Cimarosti
Antoine Leca wrote: char C_thai[] = "\u0E40\u0E02\u0E17\u0E32\u0E49\u0E1B\u0E07\u0E1C\u0E33"; Would the Unicode values be converted to the local SBCS/MBCS character set? If yes: Is the definition of this locale info part of the C99 standard itself, or is it operating system's locale? And

Re: Unicode String literals on various

2000-08-08 Thread Antoine Leca
[EMAIL PROTECTED] wrote: Antoine Leca wrote: char C_thai[] = "\u0E40\u0E02\u0E17\u0E32\u0E49\u0E1B\u0E07\u0E1C\u0E33"; Would the Unicode values be converted to the local SBCS/MBCS character set? In this case, yes (assuming a normal C compiler). With wchar_t / L"...", they are

RE: Unicode String literals on various

2000-08-08 Thread Marco . Cimarosti
Hi, Antoine. I can continue to dissert on this subject (all of this should finally be cooked in a FAQ anyway), but I do not want to flood the list with a marginaly interesting subject. Merci beaucoup. It was very informative! Ciao. Marco P.S. You should not be so shy: up

Re: Unicode String literals on various platforms

2000-08-03 Thread Kenneth Whistler
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[] =

Re: Unicode String literals on various platforms

2000-08-03 Thread Jeu George
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 size is