ASCII & UTF string manipulation functions
- From: Sandip V Honde <sandeep honde wipro com>
- To: desktop-devel-list <desktop-devel-list gnome org>
- Subject: ASCII & UTF string manipulation functions
- Date: Wed, 20 Feb 2002 19:26:54 +0530
Hi,
I was replacing some of the deprecated string manipulation function
calls.
I found that such string manipulation calls can be replaced by functions
from ASCII or Unicode characters familiy
e.g.
Following functions are depreacted from <glib.h>
g_strcasecmp()
g_strncasecmp()
The following replacements are avialable for above functions
g_ascii_strcasecmp()
g_ascii_strncasecmp()
These functions only recognizes standard ASCII letters and ignores the
locale, treating all non-ASCII
characters as if they are not letters.
Should I go for the functions from Unicode Manipuations which operate on
Unicode characters and UTF-8 strings instead functions working only on
ASCII characters ?
Regards,
Sandeep.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]