a problem about the charset convert functions
- From: 顺珉 吴 <moody_blur yahoo com cn>
- To: gtk-app-devel-list gnome org
- Subject: a problem about the charset convert functions
- Date: Thu, 23 Jun 2005 14:44:58 +0800 (CST)
There are two types of convert functions:
the g_locale_to(from)_utf8 and the
g_filename_to(from)_utf8().
The first says it "Converts a string which is in the
encoding used for strings by the C runtime (usually
the same as that used by the operating system) in the
current locale into a UTF-8 string."
And the laster says it"Converts a string which is in
the encoding used by GLib for filenames into a UTF-8
string."
So, what is the different between "C runtime" string
and "GLib" string? Which should be used on which
situation?
Thanks.
___________________________________________________________
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com/?id=77071
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]