Sebastian Plotz wrote:
> Am Dienstag, den 17.08.2010, 13:37 -0600 schrieb Matthew Burgess:
>> In order to provide the best guidance to our audience, how would a reader
>> determine if a program supports UTF-8 or not?
>
> One possibility could be watching the source: If wchar_t (instead of
> char) is used, it is likely that the application supports UTF-8.
>
> But I think that this isn't a good solution for the book.
>
> I guess all packages in the book are supporting UTF-8 now. So can we
> assume that the user will never use programs with legacy charsets?
Hmm. What charset am I using?
#include <stdio.h>
int main()
{
printf( "Hello\n" );
}
$ gcc -o t t.c
$ ./t
Hello
$
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page