Re: Universal Character Names

fjh@cs.mu.OZ.AU (Fergus Henderson)
22 Oct 1998 01:59:38 -0400

          From comp.compilers

Related articles
Universal Character Names eric.b.lemings@lmco.com (Eric Lemings) (1998-10-10)
Re: Universal Character Names qjackson@wave.home.com (Quinn Tyler Jackson) (1998-10-13)
Re: Universal Character Names Brian.Inglis@cadvision.com (1998-10-13)
Re: Universal Character Names eric.b.lemings@lmco.com (Eric Lemings) (1998-10-17)
Re: Universal Character Names ok@atlas.otago.ac.nz (Dr Richard A. O'Keefe) (1998-10-17)
Re: Universal Character Names fjh@cs.mu.OZ.AU (1998-10-22)
Re: Universal Character Names eggert@twinsun.com (1998-10-30)
| List of all articles for this month |

From: fjh@cs.mu.OZ.AU (Fergus Henderson)
Newsgroups: comp.compilers,comp.std.c
Followup-To: comp.std.c
Date: 22 Oct 1998 01:59:38 -0400
Organization: Computer Science, The University of Melbourne
References: 98-10-068 98-10-080 98-10-103
Keywords: C, i18n

"Dr Richard A. O'Keefe" <ok@atlas.otago.ac.nz> writes:


>Remember, there are EIGHT "translation phases" in C9x:
...
>6. Strings are pasted (narrow strings with narrow strings, wide
> strings with wide strings). The effect of "x" L"y" and
> L"x" "y" is not defined, which is a pity, because that was
> a very nasty problem that they should have fixed.


I'm not 100% certain, but I believe that they have indeed fixed
that problem -- for concatenation of a wide string and a narrow
string, the narrow string is first "promoted" to wide, so the
result is a wide string.


--
Fergus Henderson <fjh@cs.mu.oz.au>
WWW: <http://www.cs.mu.oz.au/~fjh>
PGP: finger fjh@128.250.37.3


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.