Re: utf8 stristr
- From: Michal Adamczak <pokryfka druid if uj edu pl>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: utf8 stristr
- Date: Mon, 31 Mar 2003 19:08:05 +0200
strrstr() is not part of standard C, neither is strstr_len() or
strrstr_len(). However, your C library contains a perfectly good
strstr(), so there is no reason to tack a g_ in front of it.
personally i think that they should appear just for consistency
and there should appear replace and regex funcions as well
is sizeof(char) always equals sizeof(utf8_char)?
maybe i am wrong but i thought that soem characters beyond first chars
table
are written with two bytes
if not there's no need for strstr and other at all
but my concern was that the size of one chracter can be 1 or 2 bytes
i guess i shall read some utf(8) docs
Michal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]