Re: ucs in C and C++

From: Dennis L. Goyette (dennisg@metronics.com)
Date: Wed Apr 11 2001 - 05:48:55 EDT


I haven't had any luck trying to get the \uxxxx construct working with
an UTF-8 locale....... any suggestions????

Keld Jørn Simonsen wrote:

> My email reply to a previous posting on ucs use
> in the ISO C and C++ programming languages was unfortunately
> bounced because the mailer software thought that I was citing too much.
>
> I think that was not productive, and would like to ask if the
> list maintainers woul have a look at the parameters there.
> I did try to only cite relevant parts of the mail.
>
> The email i question was unfortunately mistrepresenting the C and
> C++ standards, It indicated that you must use UCS to use the \u and \U
> constructs in strings etc. This is not so. The \u and \U constructs,
> eg \uxxxx refers to the abstract 10646 character, and is encoding independent.
> You can then use any encoding, where the abstract character is present,
> for this string.
>
> Keld
>
>
>



This archive was generated by hypermail 2.1.2 : Fri Jul 06 2001 - 00:17:15 EDT