[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: proper way to create a GString object from an unsigned char *
- From: "Pawel S. Veselov" <Pawel Veselov Sun COM>
- To: Adam Monsen <haircut gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: proper way to create a GString object from an unsigned char *
- Date: Fri, 23 Jul 2004 17:27:14 -0700
Hello, Adam !
On Fri, Jul 23, 2004 at 05:24:14PM -0700, Adam Monsen wrote:
>> It's OK to cast unsigned char* to signed char* and vice
>> versa -- if you are working with strings, that is. If you
>> were doing arithmetics with the characters (i.e. using them
>> as small integers), then it could be different.
>
>Might there be any UTF-8 issues when I do this cast?
No.
Bye.
--
Pawel S. Veselov [vps], Sun Microsystems, Inc.
Staff Engineer, Java Mobile Systems and Services Engineering __ __(O) _ __
(408) 276-5410 e-mail: Pawel Veselov Sun COM \ V /| || ' \
fax(408) 276-6090 HomePage: http://manticore.2y.net \_/ |_||_|_|_|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]