f Tay, William
Sent: Friday, November 02, 2001 9:38 AM
To: Unicode Mailing List
Subject: RE: How to print the byte representation of a wchar_t string
with non -ASCII ...
Dear Unicoders & C gurus,
Thank you for your comments on my previous posting. They help. Have a
question while digesting them o
ce the string from stdin and
the program defined var are using the same encoding scheme?
Will
-----Original Message-----
From: Jungshik Shin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 3:11 PM
To: Unicode Mailing List
Subject: Re: How to print the byte representation of a wchar_t st
In a message dated 2001-11-01 12:23:58 Pacific Standard Time,
[EMAIL PROTECTED] writes:
> > But won't this approach fail as soon as we hit a 0x00 byte (i.e. the
> > high 8 bits of any Latin-1 character)?
>
> I'm not sure what you're alluding to here. As long as
> all characters in wstr be
In a message dated 2001-10-31 10:07:44 Pacific Standard Time,
[EMAIL PROTECTED] writes:
> This is wrong. wchar_t strings can of course be printed. Reading the
> ISO C standard would tell you to use
>
>printf ("%ls", wstr);
>
> can be used to print wchar_t strings which are converted to
On 31 Oct 2001, at 10:37, Tay, William wrote:
> Hi,
>
> For debugging purpose, I'd like to find out how I can print the byte
> representation of a wchar_t string.
>
> Say in C, I have wchar_t wstr[10] = L"fran";
> Is there any printf or wchar equivalent function (using appropriate format
> tem
In a message dated 2001-10-31 7:49:44 Pacific Standard Time,
[EMAIL PROTECTED] writes:
> For debugging purpose, I'd like to find out how I can print the byte
> representation of a wchar_t string.
>
> Say in C, I have wchar_t wstr[10] = L"fran";
> Is there any printf or wchar equivalent func
6 matches
Mail list logo