atk 0.90.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +241 -0
- data/README +30 -0
- data/Rakefile +74 -0
- data/ext/atk/Makefile +160 -0
- data/ext/atk/atk.def +2 -0
- data/ext/atk/depend +8 -0
- data/ext/atk/extconf.rb +60 -0
- data/ext/atk/makeinits.rb +39 -0
- data/ext/atk/rbatk.c +27 -0
- data/ext/atk/rbatk.h +36 -0
- data/ext/atk/rbatkaction.c +81 -0
- data/ext/atk/rbatkcomponent.c +184 -0
- data/ext/atk/rbatkdocument.c +95 -0
- data/ext/atk/rbatkeditabletext.c +102 -0
- data/ext/atk/rbatkgobjectaccessible.c +37 -0
- data/ext/atk/rbatkhyperlink.c +92 -0
- data/ext/atk/rbatkhypertext.c +44 -0
- data/ext/atk/rbatkimage.c +62 -0
- data/ext/atk/rbatkimplementor.c +27 -0
- data/ext/atk/rbatkinits.c +55 -0
- data/ext/atk/rbatknoopobject.c +30 -0
- data/ext/atk/rbatknoopobjectfactory.c +30 -0
- data/ext/atk/rbatkobject.c +178 -0
- data/ext/atk/rbatkobjectfactory.c +44 -0
- data/ext/atk/rbatkregistry.c +55 -0
- data/ext/atk/rbatkrelation.c +104 -0
- data/ext/atk/rbatkrelationset.c +94 -0
- data/ext/atk/rbatkselection.c +82 -0
- data/ext/atk/rbatkstate.c +41 -0
- data/ext/atk/rbatkstateset.c +143 -0
- data/ext/atk/rbatkstreamablecontent.c +50 -0
- data/ext/atk/rbatktable.c +292 -0
- data/ext/atk/rbatktext.c +364 -0
- data/ext/atk/rbatktextrange.c +91 -0
- data/ext/atk/rbatktextrectangle.c +156 -0
- data/ext/atk/rbatkutil.c +125 -0
- data/ext/atk/rbatkvalue.c +74 -0
- data/ext/atk/rbatkversion.h +24 -0
- data/extconf.rb +49 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/lib/atk.rb +12 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +123 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +188 -0
- data/vendor/local/bin/glib-mkenums +511 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +45 -0
- data/vendor/local/include/atk-1.0/atk/atk.h +56 -0
- data/vendor/local/include/atk-1.0/atk/atkaction.h +111 -0
- data/vendor/local/include/atk-1.0/atk/atkcomponent.h +171 -0
- data/vendor/local/include/atk-1.0/atk/atkdocument.h +83 -0
- data/vendor/local/include/atk-1.0/atk/atkeditabletext.h +104 -0
- data/vendor/local/include/atk-1.0/atk/atkgobjectaccessible.h +65 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlink.h +106 -0
- data/vendor/local/include/atk-1.0/atk/atkhyperlinkimpl.h +75 -0
- data/vendor/local/include/atk-1.0/atk/atkhypertext.h +78 -0
- data/vendor/local/include/atk-1.0/atk/atkimage.h +87 -0
- data/vendor/local/include/atk-1.0/atk/atkmisc.h +89 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobject.h +55 -0
- data/vendor/local/include/atk-1.0/atk/atknoopobjectfactory.h +57 -0
- data/vendor/local/include/atk-1.0/atk/atkobject.h +649 -0
- data/vendor/local/include/atk-1.0/atk/atkobjectfactory.h +67 -0
- data/vendor/local/include/atk-1.0/atk/atkplug.h +61 -0
- data/vendor/local/include/atk-1.0/atk/atkregistry.h +69 -0
- data/vendor/local/include/atk-1.0/atk/atkrelation.h +89 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationset.h +78 -0
- data/vendor/local/include/atk-1.0/atk/atkrelationtype.h +83 -0
- data/vendor/local/include/atk-1.0/atk/atkselection.h +95 -0
- data/vendor/local/include/atk-1.0/atk/atksocket.h +65 -0
- data/vendor/local/include/atk-1.0/atk/atkstate.h +178 -0
- data/vendor/local/include/atk-1.0/atk/atkstateset.h +80 -0
- data/vendor/local/include/atk-1.0/atk/atkstreamablecontent.h +105 -0
- data/vendor/local/include/atk-1.0/atk/atktable.h +217 -0
- data/vendor/local/include/atk-1.0/atk/atktext.h +365 -0
- data/vendor/local/include/atk-1.0/atk/atkutil.h +313 -0
- data/vendor/local/include/atk-1.0/atk/atkvalue.h +93 -0
- data/vendor/local/include/autosprintf.h +66 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
- data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
- data/vendor/local/include/glib-2.0/glib-object.h +41 -0
- data/vendor/local/include/glib-2.0/glib.h +97 -0
- data/vendor/local/include/glib-2.0/gmodule.h +101 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/atk-1.0.def +237 -0
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +800 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
- data/vendor/local/lib/glib-2.0.def +1381 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.def +11 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +349 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +31 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/atk.pc +11 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/manifest/atk-dev_1.30.0-2_win32.mft +37 -0
- data/vendor/local/manifest/atk_1.30.0-2_win32.mft +93 -0
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
- data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
- data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
- data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +893 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/locale.alias +77 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
- data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
- data/vendor/local/share/man/man1/gobject-query.1 +83 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +739 -0
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.sh +51 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
- metadata +929 -0
@@ -0,0 +1,1187 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Character Set Conversion</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
+
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
|
+
<link rel="prev" href="glib-String-Utility-Functions.html" title="String Utility Functions">
|
10
|
+
<link rel="next" href="glib-Unicode-Manipulation.html" title="Unicode Manipulation">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="glib-String-Utility-Functions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="glib-Unicode-Manipulation.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#glib-Character-Set-Conversion.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#glib-Character-Set-Conversion.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry" title="Character Set Conversion">
|
30
|
+
<a name="glib-Character-Set-Conversion"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="glib-Character-Set-Conversion.top_of_page"></a>Character Set Conversion</span></h2>
|
34
|
+
<p>Character Set Conversion — convert strings between different character sets using <code class="function">iconv()</code></p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
|
+
<a name="glib-Character-Set-Conversion.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">
|
41
|
+
#include <glib.h>
|
42
|
+
|
43
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()">g_convert</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
44
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
45
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
46
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>,
|
47
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
48
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
49
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
50
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-convert-with-fallback" title="g_convert_with_fallback ()">g_convert_with_fallback</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
51
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
52
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
53
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>,
|
54
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *fallback</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
57
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
58
|
+
<a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv">GIConv</a>;
|
59
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-convert-with-iconv" title="g_convert_with_iconv ()">g_convert_with_iconv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
62
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
63
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
65
|
+
#define <a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR:CAPS" title="G_CONVERT_ERROR">G_CONVERT_ERROR</a>
|
66
|
+
<a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="returnvalue">GIConv</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-open" title="g_iconv_open ()">g_iconv_open</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
67
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>);
|
68
|
+
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-iconv" title="g_iconv ()">g_iconv</a> (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
69
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **inbuf</code></em>,
|
70
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *inbytes_left</code></em>,
|
71
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **outbuf</code></em>,
|
72
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *outbytes_left</code></em>);
|
73
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-close" title="g_iconv_close ()">g_iconv_close</a> (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>);
|
74
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-locale-to-utf8" title="g_locale_to_utf8 ()">g_locale_to_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
75
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
77
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
78
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
79
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-utf8" title="g_filename_to_utf8 ()">g_filename_to_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
80
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
81
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
82
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
83
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
84
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-filename-from-utf8" title="g_filename_from_utf8 ()">g_filename_from_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
85
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
86
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
87
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
88
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
89
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Character-Set-Conversion.html#g-filename-from-uri" title="g_filename_from_uri ()">g_filename_from_uri</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
90
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **hostname</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
92
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-uri" title="g_filename_to_uri ()">g_filename_to_uri</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
93
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *hostname</code></em>,
|
94
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
95
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-get-filename-charsets" title="g_get_filename_charsets ()">g_get_filename_charsets</a> (<em class="parameter"><code>G_CONST_RETURN <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> ***charsets</code></em>);
|
96
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-name" title="g_filename_display_name ()">g_filename_display_name</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
97
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-basename" title="g_filename_display_basename ()">g_filename_display_basename</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
98
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="glib-Character-Set-Conversion.html#g-locale-from-utf8" title="g_locale_from_utf8 ()">g_locale_from_utf8</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
99
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
100
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
101
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
102
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
103
|
+
enum <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError">GConvertError</a>;
|
104
|
+
|
105
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Character-Set-Conversion.html#g-get-charset" title="g_get_charset ()">g_get_charset</a> (<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **charset</code></em>);
|
106
|
+
</pre>
|
107
|
+
</div>
|
108
|
+
<div class="refsect1" title="Description">
|
109
|
+
<a name="glib-Character-Set-Conversion.description"></a><h2>Description</h2>
|
110
|
+
<p>
|
111
|
+
</p>
|
112
|
+
<div class="refsect2" title="File Name Encodings">
|
113
|
+
<a name="file-name-encodings"></a><h3>File Name Encodings</h3>
|
114
|
+
<p>
|
115
|
+
Historically, Unix has not had a defined encoding for file
|
116
|
+
names: a file name is valid as long as it does not have path
|
117
|
+
separators in it ("/"). However, displaying file names may
|
118
|
+
require conversion: from the character set in which they were
|
119
|
+
created, to the character set in which the application
|
120
|
+
operates. Consider the Spanish file name
|
121
|
+
"<code class="filename">Presentación.sxi</code>". If the
|
122
|
+
application which created it uses ISO-8859-1 for its encoding,
|
123
|
+
then the actual file name on disk would look like this:
|
124
|
+
</p>
|
125
|
+
<a name="filename-iso8859-1"></a><pre class="programlisting">
|
126
|
+
Character: P r e s e n t a c i ó n . s x i
|
127
|
+
Hex code: 50 72 65 73 65 6e 74 61 63 69 f3 6e 2e 73 78 69
|
128
|
+
</pre>
|
129
|
+
<p>
|
130
|
+
However, if the application use UTF-8, the actual file name on
|
131
|
+
disk would look like this:
|
132
|
+
</p>
|
133
|
+
<a name="filename-utf-8"></a><pre class="programlisting">
|
134
|
+
Character: P r e s e n t a c i ó n . s x i
|
135
|
+
Hex code: 50 72 65 73 65 6e 74 61 63 69 c3 b3 6e 2e 73 78 69
|
136
|
+
</pre>
|
137
|
+
<p>
|
138
|
+
Glib uses UTF-8 for its strings, and GUI toolkits like GTK+
|
139
|
+
that use Glib do the same thing. If you get a file name from
|
140
|
+
the file system, for example, from
|
141
|
+
<code class="function">readdir(3)</code> or from <code class="function"><a class="link" href="glib-File-Utilities.html#g-dir-read-name" title="g_dir_read_name ()"><code class="function">g_dir_read_name()</code></a></code>,
|
142
|
+
and you wish to display the file name to the user, you
|
143
|
+
<span class="emphasis"><em>will</em></span> need to convert it into UTF-8. The
|
144
|
+
opposite case is when the user types the name of a file he
|
145
|
+
wishes to save: the toolkit will give you that string in
|
146
|
+
UTF-8 encoding, and you will need to convert it to the
|
147
|
+
character set used for file names before you can create the
|
148
|
+
file with <code class="function">open(2)</code> or
|
149
|
+
<code class="function">fopen(3)</code>.
|
150
|
+
</p>
|
151
|
+
<p>
|
152
|
+
By default, Glib assumes that file names on disk are in UTF-8
|
153
|
+
encoding. This is a valid assumption for file systems which
|
154
|
+
were created relatively recently: most applications use UTF-8
|
155
|
+
encoding for their strings, and that is also what they use for
|
156
|
+
the file names they create. However, older file systems may
|
157
|
+
still contain file names created in "older" encodings, such as
|
158
|
+
ISO-8859-1. In this case, for compatibility reasons, you may
|
159
|
+
want to instruct Glib to use that particular encoding for file
|
160
|
+
names rather than UTF-8. You can do this by specifying the
|
161
|
+
encoding for file names in the <a class="link" href="glib-running.html#G_FILENAME_ENCODING" title="G_FILENAME_ENCODING"><code class="envar">G_FILENAME_ENCODING</code></a>
|
162
|
+
environment variable. For example, if your installation uses
|
163
|
+
ISO-8859-1 for file names, you can put this in your
|
164
|
+
<code class="filename">~/.profile</code>:
|
165
|
+
</p>
|
166
|
+
<pre class="programlisting">
|
167
|
+
export G_FILENAME_ENCODING=ISO-8859-1
|
168
|
+
</pre>
|
169
|
+
<p>
|
170
|
+
Glib provides the functions <code class="function"><a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-utf8" title="g_filename_to_utf8 ()"><code class="function">g_filename_to_utf8()</code></a></code>
|
171
|
+
and <code class="function"><a class="link" href="glib-Character-Set-Conversion.html#g-filename-from-utf8" title="g_filename_from_utf8 ()"><code class="function">g_filename_from_utf8()</code></a></code>
|
172
|
+
to perform the necessary conversions. These functions convert
|
173
|
+
file names from the encoding specified in
|
174
|
+
<code class="envar">G_FILENAME_ENCODING</code> to UTF-8 and vice-versa.
|
175
|
+
<a class="xref" href="glib-Character-Set-Conversion.html#file-name-encodings-diagram" title="Figure 2. Conversion between File Name Encodings">Figure 2, “Conversion between File Name Encodings”</a> illustrates how
|
176
|
+
these functions are used to convert between UTF-8 and the
|
177
|
+
encoding for file names in the file system.
|
178
|
+
</p>
|
179
|
+
<div class="figure">
|
180
|
+
<a name="file-name-encodings-diagram"></a><p class="title"><b>Figure 2. Conversion between File Name Encodings</b></p>
|
181
|
+
<div class="figure-contents"><div><img src="file-name-encodings.png" alt="Conversion between File Name Encodings"></div></div>
|
182
|
+
</div>
|
183
|
+
<br class="figure-break"><div class="refsect3" title="Checklist for Application Writers">
|
184
|
+
<a name="file-name-encodings-checklist"></a><h4>Checklist for Application Writers</h4>
|
185
|
+
<p>
|
186
|
+
This section is a practical summary of the detailed
|
187
|
+
description above. You can use this as a checklist of
|
188
|
+
things to do to make sure your applications process file
|
189
|
+
name encodings correctly.
|
190
|
+
</p>
|
191
|
+
<div class="orderedlist"><ol class="orderedlist" type="1">
|
192
|
+
<li class="listitem"><p>
|
193
|
+
If you get a file name from the file system from a
|
194
|
+
function such as <code class="function">readdir(3)</code> or
|
195
|
+
<code class="function"><code class="function">gtk_file_chooser_get_filename()</code></code>,
|
196
|
+
you do not need to do any conversion to pass that
|
197
|
+
file name to functions like <code class="function">open(2)</code>,
|
198
|
+
<code class="function">rename(2)</code>, or
|
199
|
+
<code class="function">fopen(3)</code> — those are "raw"
|
200
|
+
file names which the file system understands.
|
201
|
+
</p></li>
|
202
|
+
<li class="listitem"><p>
|
203
|
+
If you need to display a file name, convert it to UTF-8
|
204
|
+
first by using <code class="function"><a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-utf8" title="g_filename_to_utf8 ()"><code class="function">g_filename_to_utf8()</code></a></code>.
|
205
|
+
If conversion fails, display a string like
|
206
|
+
"<code class="literal">Unknown file name</code>". <span class="emphasis"><em>Do
|
207
|
+
not</em></span> convert this string back into the
|
208
|
+
encoding used for file names if you wish to pass it to
|
209
|
+
the file system; use the original file name instead.
|
210
|
+
For example, the document window of a word processor
|
211
|
+
could display "Unknown file name" in its title bar but
|
212
|
+
still let the user save the file, as it would keep the
|
213
|
+
raw file name internally. This can happen if the user
|
214
|
+
has not set the <code class="envar">G_FILENAME_ENCODING</code>
|
215
|
+
environment variable even though he has files whose
|
216
|
+
names are not encoded in UTF-8.
|
217
|
+
</p></li>
|
218
|
+
<li class="listitem"><p>
|
219
|
+
If your user interface lets the user type a file name
|
220
|
+
for saving or renaming, convert it to the encoding used
|
221
|
+
for file names in the file system by using <code class="function"><a class="link" href="glib-Character-Set-Conversion.html#g-filename-from-utf8" title="g_filename_from_utf8 ()"><code class="function">g_filename_from_utf8()</code></a></code>.
|
222
|
+
Pass the converted file name to functions like
|
223
|
+
<code class="function">fopen(3)</code>. If conversion fails, ask
|
224
|
+
the user to enter a different file name. This can
|
225
|
+
happen if the user types Japanese characters when
|
226
|
+
<code class="envar">G_FILENAME_ENCODING</code> is set to
|
227
|
+
<code class="literal">ISO-8859-1</code>, for example.
|
228
|
+
</p></li>
|
229
|
+
</ol></div>
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
</div>
|
233
|
+
<div class="refsect1" title="Details">
|
234
|
+
<a name="glib-Character-Set-Conversion.details"></a><h2>Details</h2>
|
235
|
+
<div class="refsect2" title="g_convert ()">
|
236
|
+
<a name="g-convert"></a><h3>g_convert ()</h3>
|
237
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_convert (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
238
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
239
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
240
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>,
|
241
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
242
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
243
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
244
|
+
<p>
|
245
|
+
Converts a string from one character set to another.
|
246
|
+
</p>
|
247
|
+
<p>
|
248
|
+
Note that you should use <a class="link" href="glib-Character-Set-Conversion.html#g-iconv" title="g_iconv ()"><code class="function">g_iconv()</code></a> for streaming
|
249
|
+
conversions<sup>[<a href="glib-Character-Set-Conversion.html#ftn.streaming-state" class="footnoteref">2</a>]</sup>.
|
250
|
+
</p>
|
251
|
+
<div class="variablelist"><table border="0">
|
252
|
+
<col align="left" valign="top">
|
253
|
+
<tbody>
|
254
|
+
<tr>
|
255
|
+
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
256
|
+
<td>the string to convert
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
261
|
+
<td>the length of the string, or -1 if the string is
|
262
|
+
nul-terminated<sup>[<a name="nul-unsafe" href="#ftn.nul-unsafe" class="footnote">1</a>]</sup>.
|
263
|
+
</td>
|
264
|
+
</tr>
|
265
|
+
<tr>
|
266
|
+
<td><p><span class="term"><em class="parameter"><code>to_codeset</code></em> :</span></p></td>
|
267
|
+
<td>name of character set into which to convert <em class="parameter"><code>str</code></em>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td><p><span class="term"><em class="parameter"><code>from_codeset</code></em> :</span></p></td>
|
272
|
+
<td>character set of <em class="parameter"><code>str</code></em>.
|
273
|
+
</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
277
|
+
<td>location to store the number of bytes in the
|
278
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
279
|
+
Even if the conversion was successful, this may be
|
280
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
281
|
+
at the end of the input. If the error
|
282
|
+
<a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"><span class="type">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</span></a> occurs, the value
|
283
|
+
stored will the byte offset after the last valid
|
284
|
+
input sequence.
|
285
|
+
</td>
|
286
|
+
</tr>
|
287
|
+
<tr>
|
288
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
289
|
+
<td>the number of bytes stored in the output buffer (not
|
290
|
+
including the terminating nul).
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
<tr>
|
294
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
295
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
296
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
297
|
+
</td>
|
298
|
+
</tr>
|
299
|
+
<tr>
|
300
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
301
|
+
<td> If the conversion was successful, a newly allocated
|
302
|
+
nul-terminated string, which must be freed with
|
303
|
+
<a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>. Otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> and <em class="parameter"><code>error</code></em> will be set.
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
</tbody>
|
307
|
+
</table></div>
|
308
|
+
</div>
|
309
|
+
<hr>
|
310
|
+
<div class="refsect2" title="g_convert_with_fallback ()">
|
311
|
+
<a name="g-convert-with-fallback"></a><h3>g_convert_with_fallback ()</h3>
|
312
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_convert_with_fallback (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
313
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
314
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
315
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>,
|
316
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *fallback</code></em>,
|
317
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
318
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
319
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
320
|
+
<p>
|
321
|
+
Converts a string from one character set to another, possibly
|
322
|
+
including fallback sequences for characters not representable
|
323
|
+
in the output. Note that it is not guaranteed that the specification
|
324
|
+
for the fallback sequences in <em class="parameter"><code>fallback</code></em> will be honored. Some
|
325
|
+
systems may do an approximate conversion from <em class="parameter"><code>from_codeset</code></em>
|
326
|
+
to <em class="parameter"><code>to_codeset</code></em> in their <code class="function">iconv()</code> functions,
|
327
|
+
in which case GLib will simply return that approximate conversion.
|
328
|
+
</p>
|
329
|
+
<p>
|
330
|
+
Note that you should use <a class="link" href="glib-Character-Set-Conversion.html#g-iconv" title="g_iconv ()"><code class="function">g_iconv()</code></a> for streaming
|
331
|
+
conversions<sup>[<a href="glib-Character-Set-Conversion.html#ftn.streaming-state" class="footnoteref">2</a>]</sup>.
|
332
|
+
</p>
|
333
|
+
<div class="variablelist"><table border="0">
|
334
|
+
<col align="left" valign="top">
|
335
|
+
<tbody>
|
336
|
+
<tr>
|
337
|
+
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
338
|
+
<td>the string to convert
|
339
|
+
</td>
|
340
|
+
</tr>
|
341
|
+
<tr>
|
342
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
343
|
+
<td>the length of the string, or -1 if the string is
|
344
|
+
nul-terminated<sup>[<a href="glib-Character-Set-Conversion.html#ftn.nul-unsafe" class="footnoteref">1</a>]</sup>.
|
345
|
+
</td>
|
346
|
+
</tr>
|
347
|
+
<tr>
|
348
|
+
<td><p><span class="term"><em class="parameter"><code>to_codeset</code></em> :</span></p></td>
|
349
|
+
<td>name of character set into which to convert <em class="parameter"><code>str</code></em>
|
350
|
+
</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td><p><span class="term"><em class="parameter"><code>from_codeset</code></em> :</span></p></td>
|
354
|
+
<td>character set of <em class="parameter"><code>str</code></em>.
|
355
|
+
</td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
|
+
<td><p><span class="term"><em class="parameter"><code>fallback</code></em> :</span></p></td>
|
359
|
+
<td>UTF-8 string to use in place of character not
|
360
|
+
present in the target encoding. (The string must be
|
361
|
+
representable in the target encoding).
|
362
|
+
If <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, characters not in the target encoding will
|
363
|
+
be represented as Unicode escapes \uxxxx or \Uxxxxyyyy.
|
364
|
+
</td>
|
365
|
+
</tr>
|
366
|
+
<tr>
|
367
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
368
|
+
<td>location to store the number of bytes in the
|
369
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
370
|
+
Even if the conversion was successful, this may be
|
371
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
372
|
+
at the end of the input.
|
373
|
+
</td>
|
374
|
+
</tr>
|
375
|
+
<tr>
|
376
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
377
|
+
<td>the number of bytes stored in the output buffer (not
|
378
|
+
including the terminating nul).
|
379
|
+
</td>
|
380
|
+
</tr>
|
381
|
+
<tr>
|
382
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
383
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
384
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
385
|
+
</td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
389
|
+
<td> If the conversion was successful, a newly allocated
|
390
|
+
nul-terminated string, which must be freed with
|
391
|
+
<a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>. Otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> and <em class="parameter"><code>error</code></em> will be set.
|
392
|
+
</td>
|
393
|
+
</tr>
|
394
|
+
</tbody>
|
395
|
+
</table></div>
|
396
|
+
</div>
|
397
|
+
<hr>
|
398
|
+
<div class="refsect2" title="GIConv">
|
399
|
+
<a name="GIConv"></a><h3>GIConv</h3>
|
400
|
+
<pre class="programlisting">typedef struct _GIConv GIConv;</pre>
|
401
|
+
<p>
|
402
|
+
The <span class="structname">GIConv</span> struct wraps an
|
403
|
+
<code class="function"><code class="function">iconv()</code></code> conversion descriptor. It contains private data
|
404
|
+
and should only be accessed using the following functions.
|
405
|
+
</p>
|
406
|
+
</div>
|
407
|
+
<hr>
|
408
|
+
<div class="refsect2" title="g_convert_with_iconv ()">
|
409
|
+
<a name="g-convert-with-iconv"></a><h3>g_convert_with_iconv ()</h3>
|
410
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_convert_with_iconv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
411
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
412
|
+
<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
413
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
414
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
415
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
416
|
+
<p>
|
417
|
+
Converts a string from one character set to another.
|
418
|
+
</p>
|
419
|
+
<p>
|
420
|
+
Note that you should use <a class="link" href="glib-Character-Set-Conversion.html#g-iconv" title="g_iconv ()"><code class="function">g_iconv()</code></a> for streaming
|
421
|
+
conversions<sup>[<a name="streaming-state" href="#ftn.streaming-state" class="footnote">2</a>]</sup>.
|
422
|
+
</p>
|
423
|
+
<div class="variablelist"><table border="0">
|
424
|
+
<col align="left" valign="top">
|
425
|
+
<tbody>
|
426
|
+
<tr>
|
427
|
+
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
428
|
+
<td>the string to convert
|
429
|
+
</td>
|
430
|
+
</tr>
|
431
|
+
<tr>
|
432
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
433
|
+
<td>the length of the string, or -1 if the string is
|
434
|
+
nul-terminated<sup>[<a href="glib-Character-Set-Conversion.html#ftn.nul-unsafe" class="footnoteref">1</a>]</sup>.
|
435
|
+
</td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td><p><span class="term"><em class="parameter"><code>converter</code></em> :</span></p></td>
|
439
|
+
<td>conversion descriptor from <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-open" title="g_iconv_open ()"><code class="function">g_iconv_open()</code></a>
|
440
|
+
</td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
444
|
+
<td>location to store the number of bytes in the
|
445
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
446
|
+
Even if the conversion was successful, this may be
|
447
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
448
|
+
at the end of the input. If the error
|
449
|
+
<a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"><span class="type">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</span></a> occurs, the value
|
450
|
+
stored will the byte offset after the last valid
|
451
|
+
input sequence.
|
452
|
+
</td>
|
453
|
+
</tr>
|
454
|
+
<tr>
|
455
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
456
|
+
<td>the number of bytes stored in the output buffer (not
|
457
|
+
including the terminating nul).
|
458
|
+
</td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
462
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
463
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
464
|
+
</td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
468
|
+
<td> If the conversion was successful, a newly allocated
|
469
|
+
nul-terminated string, which must be freed with
|
470
|
+
<a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>. Otherwise <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> and <em class="parameter"><code>error</code></em> will be set.
|
471
|
+
</td>
|
472
|
+
</tr>
|
473
|
+
</tbody>
|
474
|
+
</table></div>
|
475
|
+
</div>
|
476
|
+
<hr>
|
477
|
+
<div class="refsect2" title="G_CONVERT_ERROR">
|
478
|
+
<a name="G-CONVERT-ERROR:CAPS"></a><h3>G_CONVERT_ERROR</h3>
|
479
|
+
<pre class="programlisting">#define G_CONVERT_ERROR g_convert_error_quark()
|
480
|
+
</pre>
|
481
|
+
<p>
|
482
|
+
Error domain for character set conversions. Errors in this domain will
|
483
|
+
be from the <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for information on
|
484
|
+
error domains.
|
485
|
+
</p>
|
486
|
+
</div>
|
487
|
+
<hr>
|
488
|
+
<div class="refsect2" title="g_iconv_open ()">
|
489
|
+
<a name="g-iconv-open"></a><h3>g_iconv_open ()</h3>
|
490
|
+
<pre class="programlisting"><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="returnvalue">GIConv</span></a> g_iconv_open (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *to_codeset</code></em>,
|
491
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *from_codeset</code></em>);</pre>
|
492
|
+
<p>
|
493
|
+
Same as the standard UNIX routine <code class="function">iconv_open()</code>, but
|
494
|
+
may be implemented via libiconv on UNIX flavors that lack
|
495
|
+
a native implementation.
|
496
|
+
</p>
|
497
|
+
<p>
|
498
|
+
GLib provides <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a> and <a class="link" href="glib-Character-Set-Conversion.html#g-locale-to-utf8" title="g_locale_to_utf8 ()"><code class="function">g_locale_to_utf8()</code></a> which are likely
|
499
|
+
more convenient than the raw iconv wrappers.
|
500
|
+
</p>
|
501
|
+
<div class="variablelist"><table border="0">
|
502
|
+
<col align="left" valign="top">
|
503
|
+
<tbody>
|
504
|
+
<tr>
|
505
|
+
<td><p><span class="term"><em class="parameter"><code>to_codeset</code></em> :</span></p></td>
|
506
|
+
<td>destination codeset
|
507
|
+
</td>
|
508
|
+
</tr>
|
509
|
+
<tr>
|
510
|
+
<td><p><span class="term"><em class="parameter"><code>from_codeset</code></em> :</span></p></td>
|
511
|
+
<td>source codeset
|
512
|
+
</td>
|
513
|
+
</tr>
|
514
|
+
<tr>
|
515
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
516
|
+
<td> a "conversion descriptor", or (GIConv)-1 if
|
517
|
+
opening the converter failed.
|
518
|
+
</td>
|
519
|
+
</tr>
|
520
|
+
</tbody>
|
521
|
+
</table></div>
|
522
|
+
</div>
|
523
|
+
<hr>
|
524
|
+
<div class="refsect2" title="g_iconv ()">
|
525
|
+
<a name="g-iconv"></a><h3>g_iconv ()</h3>
|
526
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_iconv (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>,
|
527
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **inbuf</code></em>,
|
528
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *inbytes_left</code></em>,
|
529
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **outbuf</code></em>,
|
530
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *outbytes_left</code></em>);</pre>
|
531
|
+
<p>
|
532
|
+
Same as the standard UNIX routine <code class="function">iconv()</code>, but
|
533
|
+
may be implemented via libiconv on UNIX flavors that lack
|
534
|
+
a native implementation.
|
535
|
+
</p>
|
536
|
+
<p>
|
537
|
+
GLib provides <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a> and <a class="link" href="glib-Character-Set-Conversion.html#g-locale-to-utf8" title="g_locale_to_utf8 ()"><code class="function">g_locale_to_utf8()</code></a> which are likely
|
538
|
+
more convenient than the raw iconv wrappers.
|
539
|
+
</p>
|
540
|
+
<div class="variablelist"><table border="0">
|
541
|
+
<col align="left" valign="top">
|
542
|
+
<tbody>
|
543
|
+
<tr>
|
544
|
+
<td><p><span class="term"><em class="parameter"><code>converter</code></em> :</span></p></td>
|
545
|
+
<td>conversion descriptor from <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-open" title="g_iconv_open ()"><code class="function">g_iconv_open()</code></a>
|
546
|
+
</td>
|
547
|
+
</tr>
|
548
|
+
<tr>
|
549
|
+
<td><p><span class="term"><em class="parameter"><code>inbuf</code></em> :</span></p></td>
|
550
|
+
<td>bytes to convert
|
551
|
+
</td>
|
552
|
+
</tr>
|
553
|
+
<tr>
|
554
|
+
<td><p><span class="term"><em class="parameter"><code>inbytes_left</code></em> :</span></p></td>
|
555
|
+
<td>inout parameter, bytes remaining to convert in <em class="parameter"><code>inbuf</code></em>
|
556
|
+
</td>
|
557
|
+
</tr>
|
558
|
+
<tr>
|
559
|
+
<td><p><span class="term"><em class="parameter"><code>outbuf</code></em> :</span></p></td>
|
560
|
+
<td>converted output bytes
|
561
|
+
</td>
|
562
|
+
</tr>
|
563
|
+
<tr>
|
564
|
+
<td><p><span class="term"><em class="parameter"><code>outbytes_left</code></em> :</span></p></td>
|
565
|
+
<td>inout parameter, bytes available to fill in <em class="parameter"><code>outbuf</code></em>
|
566
|
+
</td>
|
567
|
+
</tr>
|
568
|
+
<tr>
|
569
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
570
|
+
<td> count of non-reversible conversions, or -1 on error
|
571
|
+
</td>
|
572
|
+
</tr>
|
573
|
+
</tbody>
|
574
|
+
</table></div>
|
575
|
+
</div>
|
576
|
+
<hr>
|
577
|
+
<div class="refsect2" title="g_iconv_close ()">
|
578
|
+
<a name="g-iconv-close"></a><h3>g_iconv_close ()</h3>
|
579
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_iconv_close (<em class="parameter"><code><a class="link" href="glib-Character-Set-Conversion.html#GIConv" title="GIConv"><span class="type">GIConv</span></a> converter</code></em>);</pre>
|
580
|
+
<p>
|
581
|
+
Same as the standard UNIX routine <code class="function">iconv_close()</code>, but
|
582
|
+
may be implemented via libiconv on UNIX flavors that lack
|
583
|
+
a native implementation. Should be called to clean up
|
584
|
+
the conversion descriptor from <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-open" title="g_iconv_open ()"><code class="function">g_iconv_open()</code></a> when
|
585
|
+
you are done converting things.
|
586
|
+
</p>
|
587
|
+
<p>
|
588
|
+
GLib provides <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a> and <a class="link" href="glib-Character-Set-Conversion.html#g-locale-to-utf8" title="g_locale_to_utf8 ()"><code class="function">g_locale_to_utf8()</code></a> which are likely
|
589
|
+
more convenient than the raw iconv wrappers.
|
590
|
+
</p>
|
591
|
+
<div class="variablelist"><table border="0">
|
592
|
+
<col align="left" valign="top">
|
593
|
+
<tbody>
|
594
|
+
<tr>
|
595
|
+
<td><p><span class="term"><em class="parameter"><code>converter</code></em> :</span></p></td>
|
596
|
+
<td>a conversion descriptor from <a class="link" href="glib-Character-Set-Conversion.html#g-iconv-open" title="g_iconv_open ()"><code class="function">g_iconv_open()</code></a>
|
597
|
+
</td>
|
598
|
+
</tr>
|
599
|
+
<tr>
|
600
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
601
|
+
<td> -1 on error, 0 on success
|
602
|
+
</td>
|
603
|
+
</tr>
|
604
|
+
</tbody>
|
605
|
+
</table></div>
|
606
|
+
</div>
|
607
|
+
<hr>
|
608
|
+
<div class="refsect2" title="g_locale_to_utf8 ()">
|
609
|
+
<a name="g-locale-to-utf8"></a><h3>g_locale_to_utf8 ()</h3>
|
610
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_locale_to_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
611
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
612
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
613
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
614
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
615
|
+
<p>
|
616
|
+
Converts a string which is in the encoding used for strings by
|
617
|
+
the C runtime (usually the same as that used by the operating
|
618
|
+
system) in the <a class="link" href="glib-running.html#setlocale" title="Locale">current locale</a> into a
|
619
|
+
UTF-8 string.
|
620
|
+
</p>
|
621
|
+
<div class="variablelist"><table border="0">
|
622
|
+
<col align="left" valign="top">
|
623
|
+
<tbody>
|
624
|
+
<tr>
|
625
|
+
<td><p><span class="term"><em class="parameter"><code>opsysstring</code></em> :</span></p></td>
|
626
|
+
<td>a string in the encoding of the current locale. On Windows
|
627
|
+
this means the system codepage.
|
628
|
+
</td>
|
629
|
+
</tr>
|
630
|
+
<tr>
|
631
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
632
|
+
<td>the length of the string, or -1 if the string is
|
633
|
+
nul-terminated<sup>[<a href="glib-Character-Set-Conversion.html#ftn.nul-unsafe" class="footnoteref">1</a>]</sup>.
|
634
|
+
</td>
|
635
|
+
</tr>
|
636
|
+
<tr>
|
637
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
638
|
+
<td>location to store the number of bytes in the
|
639
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
640
|
+
Even if the conversion was successful, this may be
|
641
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
642
|
+
at the end of the input. If the error
|
643
|
+
<a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"><span class="type">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</span></a> occurs, the value
|
644
|
+
stored will the byte offset after the last valid
|
645
|
+
input sequence.
|
646
|
+
</td>
|
647
|
+
</tr>
|
648
|
+
<tr>
|
649
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
650
|
+
<td>the number of bytes stored in the output buffer (not
|
651
|
+
including the terminating nul).
|
652
|
+
</td>
|
653
|
+
</tr>
|
654
|
+
<tr>
|
655
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
656
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
657
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
658
|
+
</td>
|
659
|
+
</tr>
|
660
|
+
<tr>
|
661
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
662
|
+
<td> The converted string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on an error.
|
663
|
+
</td>
|
664
|
+
</tr>
|
665
|
+
</tbody>
|
666
|
+
</table></div>
|
667
|
+
</div>
|
668
|
+
<hr>
|
669
|
+
<div class="refsect2" title="g_filename_to_utf8 ()">
|
670
|
+
<a name="g-filename-to-utf8"></a><h3>g_filename_to_utf8 ()</h3>
|
671
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_filename_to_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *opsysstring</code></em>,
|
672
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
673
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
674
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
675
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
676
|
+
<p>
|
677
|
+
Converts a string which is in the encoding used by GLib for
|
678
|
+
filenames into a UTF-8 string. Note that on Windows GLib uses UTF-8
|
679
|
+
for filenames; on other platforms, this function indirectly depends on
|
680
|
+
the <a class="link" href="glib-running.html#setlocale" title="Locale">current locale</a>.
|
681
|
+
</p>
|
682
|
+
<div class="variablelist"><table border="0">
|
683
|
+
<col align="left" valign="top">
|
684
|
+
<tbody>
|
685
|
+
<tr>
|
686
|
+
<td><p><span class="term"><em class="parameter"><code>opsysstring</code></em> :</span></p></td>
|
687
|
+
<td>a string in the encoding for filenames
|
688
|
+
</td>
|
689
|
+
</tr>
|
690
|
+
<tr>
|
691
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
692
|
+
<td>the length of the string, or -1 if the string is
|
693
|
+
nul-terminated<sup>[<a href="glib-Character-Set-Conversion.html#ftn.nul-unsafe" class="footnoteref">1</a>]</sup>.
|
694
|
+
</td>
|
695
|
+
</tr>
|
696
|
+
<tr>
|
697
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
698
|
+
<td>location to store the number of bytes in the
|
699
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
700
|
+
Even if the conversion was successful, this may be
|
701
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
702
|
+
at the end of the input. If the error
|
703
|
+
<a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"><span class="type">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</span></a> occurs, the value
|
704
|
+
stored will the byte offset after the last valid
|
705
|
+
input sequence.
|
706
|
+
</td>
|
707
|
+
</tr>
|
708
|
+
<tr>
|
709
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
710
|
+
<td>the number of bytes stored in the output buffer (not
|
711
|
+
including the terminating nul).
|
712
|
+
</td>
|
713
|
+
</tr>
|
714
|
+
<tr>
|
715
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
716
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
717
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
718
|
+
</td>
|
719
|
+
</tr>
|
720
|
+
<tr>
|
721
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
722
|
+
<td> The converted string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on an error.
|
723
|
+
</td>
|
724
|
+
</tr>
|
725
|
+
</tbody>
|
726
|
+
</table></div>
|
727
|
+
</div>
|
728
|
+
<hr>
|
729
|
+
<div class="refsect2" title="g_filename_from_utf8 ()">
|
730
|
+
<a name="g-filename-from-utf8"></a><h3>g_filename_from_utf8 ()</h3>
|
731
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_filename_from_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
732
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
733
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
734
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
735
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
736
|
+
<p>
|
737
|
+
Converts a string from UTF-8 to the encoding GLib uses for
|
738
|
+
filenames. Note that on Windows GLib uses UTF-8 for filenames;
|
739
|
+
on other platforms, this function indirectly depends on the
|
740
|
+
<a class="link" href="glib-running.html#setlocale" title="Locale">current locale</a>.
|
741
|
+
</p>
|
742
|
+
<div class="variablelist"><table border="0">
|
743
|
+
<col align="left" valign="top">
|
744
|
+
<tbody>
|
745
|
+
<tr>
|
746
|
+
<td><p><span class="term"><em class="parameter"><code>utf8string</code></em> :</span></p></td>
|
747
|
+
<td>a UTF-8 encoded string.
|
748
|
+
</td>
|
749
|
+
</tr>
|
750
|
+
<tr>
|
751
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
752
|
+
<td>the length of the string, or -1 if the string is
|
753
|
+
nul-terminated.
|
754
|
+
</td>
|
755
|
+
</tr>
|
756
|
+
<tr>
|
757
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
758
|
+
<td>location to store the number of bytes in the
|
759
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
760
|
+
Even if the conversion was successful, this may be
|
761
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
762
|
+
at the end of the input. If the error
|
763
|
+
<a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"><span class="type">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</span></a> occurs, the value
|
764
|
+
stored will the byte offset after the last valid
|
765
|
+
input sequence.
|
766
|
+
</td>
|
767
|
+
</tr>
|
768
|
+
<tr>
|
769
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
770
|
+
<td>the number of bytes stored in the output buffer (not
|
771
|
+
including the terminating nul).
|
772
|
+
</td>
|
773
|
+
</tr>
|
774
|
+
<tr>
|
775
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
776
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
777
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
778
|
+
</td>
|
779
|
+
</tr>
|
780
|
+
<tr>
|
781
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
782
|
+
<td> The converted string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on an error.
|
783
|
+
</td>
|
784
|
+
</tr>
|
785
|
+
</tbody>
|
786
|
+
</table></div>
|
787
|
+
</div>
|
788
|
+
<hr>
|
789
|
+
<div class="refsect2" title="g_filename_from_uri ()">
|
790
|
+
<a name="g-filename-from-uri"></a><h3>g_filename_from_uri ()</h3>
|
791
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_filename_from_uri (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
792
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **hostname</code></em>,
|
793
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
794
|
+
<p>
|
795
|
+
Converts an escaped ASCII-encoded URI to a local filename in the
|
796
|
+
encoding used for filenames.
|
797
|
+
</p>
|
798
|
+
<div class="variablelist"><table border="0">
|
799
|
+
<col align="left" valign="top">
|
800
|
+
<tbody>
|
801
|
+
<tr>
|
802
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
803
|
+
<td>a uri describing a filename (escaped, encoded in ASCII).
|
804
|
+
</td>
|
805
|
+
</tr>
|
806
|
+
<tr>
|
807
|
+
<td><p><span class="term"><em class="parameter"><code>hostname</code></em> :</span></p></td>
|
808
|
+
<td>Location to store hostname for the URI, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
809
|
+
If there is no hostname in the URI, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> will be
|
810
|
+
stored in this location.
|
811
|
+
</td>
|
812
|
+
</tr>
|
813
|
+
<tr>
|
814
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
815
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
816
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
817
|
+
</td>
|
818
|
+
</tr>
|
819
|
+
<tr>
|
820
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
821
|
+
<td> a newly-allocated string holding the resulting
|
822
|
+
filename, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on an error.
|
823
|
+
</td>
|
824
|
+
</tr>
|
825
|
+
</tbody>
|
826
|
+
</table></div>
|
827
|
+
</div>
|
828
|
+
<hr>
|
829
|
+
<div class="refsect2" title="g_filename_to_uri ()">
|
830
|
+
<a name="g-filename-to-uri"></a><h3>g_filename_to_uri ()</h3>
|
831
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_filename_to_uri (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
832
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *hostname</code></em>,
|
833
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
834
|
+
<p>
|
835
|
+
Converts an absolute filename to an escaped ASCII-encoded URI, with the path
|
836
|
+
component following Section 3.3. of RFC 2396.
|
837
|
+
</p>
|
838
|
+
<div class="variablelist"><table border="0">
|
839
|
+
<col align="left" valign="top">
|
840
|
+
<tbody>
|
841
|
+
<tr>
|
842
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
843
|
+
<td>an absolute filename specified in the GLib file name encoding,
|
844
|
+
which is the on-disk file name bytes on Unix, and UTF-8 on
|
845
|
+
Windows
|
846
|
+
</td>
|
847
|
+
</tr>
|
848
|
+
<tr>
|
849
|
+
<td><p><span class="term"><em class="parameter"><code>hostname</code></em> :</span></p></td>
|
850
|
+
<td>A UTF-8 encoded hostname, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> for none.
|
851
|
+
</td>
|
852
|
+
</tr>
|
853
|
+
<tr>
|
854
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
855
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
856
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
857
|
+
</td>
|
858
|
+
</tr>
|
859
|
+
<tr>
|
860
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
861
|
+
<td> a newly-allocated string holding the resulting
|
862
|
+
URI, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on an error.
|
863
|
+
</td>
|
864
|
+
</tr>
|
865
|
+
</tbody>
|
866
|
+
</table></div>
|
867
|
+
</div>
|
868
|
+
<hr>
|
869
|
+
<div class="refsect2" title="g_get_filename_charsets ()">
|
870
|
+
<a name="g-get-filename-charsets"></a><h3>g_get_filename_charsets ()</h3>
|
871
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_get_filename_charsets (<em class="parameter"><code>G_CONST_RETURN <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> ***charsets</code></em>);</pre>
|
872
|
+
<p>
|
873
|
+
Determines the preferred character sets used for filenames.
|
874
|
+
The first character set from the <em class="parameter"><code>charsets</code></em> is the filename encoding, the
|
875
|
+
subsequent character sets are used when trying to generate a displayable
|
876
|
+
representation of a filename, see <a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-name" title="g_filename_display_name ()"><code class="function">g_filename_display_name()</code></a>.
|
877
|
+
</p>
|
878
|
+
<p>
|
879
|
+
On Unix, the character sets are determined by consulting the
|
880
|
+
environment variables <code class="envar">G_FILENAME_ENCODING</code> and
|
881
|
+
<code class="envar">G_BROKEN_FILENAMES</code>. On Windows, the character set
|
882
|
+
used in the GLib API is always UTF-8 and said environment variables
|
883
|
+
have no effect.
|
884
|
+
</p>
|
885
|
+
<p>
|
886
|
+
<code class="envar">G_FILENAME_ENCODING</code> may be set to a comma-separated list
|
887
|
+
of character set names. The special token "@locale" is taken to
|
888
|
+
mean the character set for the <a class="link" href="glib-running.html#setlocale" title="Locale">current
|
889
|
+
locale</a>. If <code class="envar">G_FILENAME_ENCODING</code> is not set, but
|
890
|
+
<code class="envar">G_BROKEN_FILENAMES</code> is, the character set of the current
|
891
|
+
locale is taken as the filename encoding. If neither environment variable
|
892
|
+
is set, UTF-8 is taken as the filename encoding, but the character
|
893
|
+
set of the current locale is also put in the list of encodings.
|
894
|
+
</p>
|
895
|
+
<p>
|
896
|
+
The returned <em class="parameter"><code>charsets</code></em> belong to GLib and must not be freed.
|
897
|
+
</p>
|
898
|
+
<p>
|
899
|
+
Note that on Unix, regardless of the locale character set or
|
900
|
+
<code class="envar">G_FILENAME_ENCODING</code> value, the actual file names present
|
901
|
+
on a system might be in any random encoding or just gibberish.
|
902
|
+
</p>
|
903
|
+
<div class="variablelist"><table border="0">
|
904
|
+
<col align="left" valign="top">
|
905
|
+
<tbody>
|
906
|
+
<tr>
|
907
|
+
<td><p><span class="term"><em class="parameter"><code>charsets</code></em> :</span></p></td>
|
908
|
+
<td>return location for the <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of encoding names
|
909
|
+
</td>
|
910
|
+
</tr>
|
911
|
+
<tr>
|
912
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
913
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the filename encoding is UTF-8.
|
914
|
+
|
915
|
+
</td>
|
916
|
+
</tr>
|
917
|
+
</tbody>
|
918
|
+
</table></div>
|
919
|
+
<p class="since">Since 2.6</p>
|
920
|
+
</div>
|
921
|
+
<hr>
|
922
|
+
<div class="refsect2" title="g_filename_display_name ()">
|
923
|
+
<a name="g-filename-display-name"></a><h3>g_filename_display_name ()</h3>
|
924
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_filename_display_name (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
925
|
+
<p>
|
926
|
+
Converts a filename into a valid UTF-8 string. The conversion is
|
927
|
+
not necessarily reversible, so you should keep the original around
|
928
|
+
and use the return value of this function only for display purposes.
|
929
|
+
Unlike <a class="link" href="glib-Character-Set-Conversion.html#g-filename-to-utf8" title="g_filename_to_utf8 ()"><code class="function">g_filename_to_utf8()</code></a>, the result is guaranteed to be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
930
|
+
even if the filename actually isn't in the GLib file name encoding.
|
931
|
+
</p>
|
932
|
+
<p>
|
933
|
+
If GLib can not make sense of the encoding of <em class="parameter"><code>filename</code></em>, as a last resort it
|
934
|
+
replaces unknown characters with U+FFFD, the Unicode replacement character.
|
935
|
+
You can search the result for the UTF-8 encoding of this character (which is
|
936
|
+
"\357\277\275" in octal notation) to find out if <em class="parameter"><code>filename</code></em> was in an invalid
|
937
|
+
encoding.
|
938
|
+
</p>
|
939
|
+
<p>
|
940
|
+
If you know the whole pathname of the file you should use
|
941
|
+
<a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-basename" title="g_filename_display_basename ()"><code class="function">g_filename_display_basename()</code></a>, since that allows location-based
|
942
|
+
translation of filenames.
|
943
|
+
</p>
|
944
|
+
<div class="variablelist"><table border="0">
|
945
|
+
<col align="left" valign="top">
|
946
|
+
<tbody>
|
947
|
+
<tr>
|
948
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
949
|
+
<td>a pathname hopefully in the GLib file name encoding
|
950
|
+
</td>
|
951
|
+
</tr>
|
952
|
+
<tr>
|
953
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
954
|
+
<td> a newly allocated string containing
|
955
|
+
a rendition of the filename in valid UTF-8
|
956
|
+
|
957
|
+
</td>
|
958
|
+
</tr>
|
959
|
+
</tbody>
|
960
|
+
</table></div>
|
961
|
+
<p class="since">Since 2.6</p>
|
962
|
+
</div>
|
963
|
+
<hr>
|
964
|
+
<div class="refsect2" title="g_filename_display_basename ()">
|
965
|
+
<a name="g-filename-display-basename"></a><h3>g_filename_display_basename ()</h3>
|
966
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_filename_display_basename (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
967
|
+
<p>
|
968
|
+
Returns the display basename for the particular filename, guaranteed
|
969
|
+
to be valid UTF-8. The display name might not be identical to the filename,
|
970
|
+
for instance there might be problems converting it to UTF-8, and some files
|
971
|
+
can be translated in the display.
|
972
|
+
</p>
|
973
|
+
<p>
|
974
|
+
If GLib can not make sense of the encoding of <em class="parameter"><code>filename</code></em>, as a last resort it
|
975
|
+
replaces unknown characters with U+FFFD, the Unicode replacement character.
|
976
|
+
You can search the result for the UTF-8 encoding of this character (which is
|
977
|
+
"\357\277\275" in octal notation) to find out if <em class="parameter"><code>filename</code></em> was in an invalid
|
978
|
+
encoding.
|
979
|
+
</p>
|
980
|
+
<p>
|
981
|
+
You must pass the whole absolute pathname to this functions so that
|
982
|
+
translation of well known locations can be done.
|
983
|
+
</p>
|
984
|
+
<p>
|
985
|
+
This function is preferred over <a class="link" href="glib-Character-Set-Conversion.html#g-filename-display-name" title="g_filename_display_name ()"><code class="function">g_filename_display_name()</code></a> if you know the
|
986
|
+
whole path, as it allows translation.
|
987
|
+
</p>
|
988
|
+
<div class="variablelist"><table border="0">
|
989
|
+
<col align="left" valign="top">
|
990
|
+
<tbody>
|
991
|
+
<tr>
|
992
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
993
|
+
<td>an absolute pathname in the GLib file name encoding
|
994
|
+
</td>
|
995
|
+
</tr>
|
996
|
+
<tr>
|
997
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
998
|
+
<td> a newly allocated string containing
|
999
|
+
a rendition of the basename of the filename in valid UTF-8
|
1000
|
+
|
1001
|
+
</td>
|
1002
|
+
</tr>
|
1003
|
+
</tbody>
|
1004
|
+
</table></div>
|
1005
|
+
<p class="since">Since 2.6</p>
|
1006
|
+
</div>
|
1007
|
+
<hr>
|
1008
|
+
<div class="refsect2" title="g_locale_from_utf8 ()">
|
1009
|
+
<a name="g-locale-from-utf8"></a><h3>g_locale_from_utf8 ()</h3>
|
1010
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a>* g_locale_from_utf8 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *utf8string</code></em>,
|
1011
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>,
|
1012
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_read</code></em>,
|
1013
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *bytes_written</code></em>,
|
1014
|
+
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1015
|
+
<p>
|
1016
|
+
Converts a string from UTF-8 to the encoding used for strings by
|
1017
|
+
the C runtime (usually the same as that used by the operating
|
1018
|
+
system) in the <a class="link" href="glib-running.html#setlocale" title="Locale">current locale</a>. On
|
1019
|
+
Windows this means the system codepage.
|
1020
|
+
</p>
|
1021
|
+
<div class="variablelist"><table border="0">
|
1022
|
+
<col align="left" valign="top">
|
1023
|
+
<tbody>
|
1024
|
+
<tr>
|
1025
|
+
<td><p><span class="term"><em class="parameter"><code>utf8string</code></em> :</span></p></td>
|
1026
|
+
<td>a UTF-8 encoded string
|
1027
|
+
</td>
|
1028
|
+
</tr>
|
1029
|
+
<tr>
|
1030
|
+
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
1031
|
+
<td>the length of the string, or -1 if the string is
|
1032
|
+
nul-terminated<sup>[<a href="glib-Character-Set-Conversion.html#ftn.nul-unsafe" class="footnoteref">1</a>]</sup>.
|
1033
|
+
</td>
|
1034
|
+
</tr>
|
1035
|
+
<tr>
|
1036
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_read</code></em> :</span></p></td>
|
1037
|
+
<td>location to store the number of bytes in the
|
1038
|
+
input string that were successfully converted, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1039
|
+
Even if the conversion was successful, this may be
|
1040
|
+
less than <em class="parameter"><code>len</code></em> if there were partial characters
|
1041
|
+
at the end of the input. If the error
|
1042
|
+
<a class="link" href="glib-Character-Set-Conversion.html#G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"><span class="type">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</span></a> occurs, the value
|
1043
|
+
stored will the byte offset after the last valid
|
1044
|
+
input sequence.
|
1045
|
+
</td>
|
1046
|
+
</tr>
|
1047
|
+
<tr>
|
1048
|
+
<td><p><span class="term"><em class="parameter"><code>bytes_written</code></em> :</span></p></td>
|
1049
|
+
<td>the number of bytes stored in the output buffer (not
|
1050
|
+
including the terminating nul).
|
1051
|
+
</td>
|
1052
|
+
</tr>
|
1053
|
+
<tr>
|
1054
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1055
|
+
<td>location to store the error occuring, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to ignore
|
1056
|
+
errors. Any of the errors in <a class="link" href="glib-Character-Set-Conversion.html#GConvertError" title="enum GConvertError"><span class="type">GConvertError</span></a> may occur.
|
1057
|
+
</td>
|
1058
|
+
</tr>
|
1059
|
+
<tr>
|
1060
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1061
|
+
<td> The converted string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> on an error.
|
1062
|
+
</td>
|
1063
|
+
</tr>
|
1064
|
+
</tbody>
|
1065
|
+
</table></div>
|
1066
|
+
</div>
|
1067
|
+
<hr>
|
1068
|
+
<div class="refsect2" title="enum GConvertError">
|
1069
|
+
<a name="GConvertError"></a><h3>enum GConvertError</h3>
|
1070
|
+
<pre class="programlisting">typedef enum
|
1071
|
+
{
|
1072
|
+
G_CONVERT_ERROR_NO_CONVERSION,
|
1073
|
+
G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
|
1074
|
+
G_CONVERT_ERROR_FAILED,
|
1075
|
+
G_CONVERT_ERROR_PARTIAL_INPUT,
|
1076
|
+
G_CONVERT_ERROR_BAD_URI,
|
1077
|
+
G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
|
1078
|
+
} GConvertError;
|
1079
|
+
</pre>
|
1080
|
+
<p>
|
1081
|
+
Error codes returned by character set conversion routines.
|
1082
|
+
</p>
|
1083
|
+
<div class="variablelist"><table border="0">
|
1084
|
+
<col align="left" valign="top">
|
1085
|
+
<tbody>
|
1086
|
+
<tr>
|
1087
|
+
<td><p><a name="G-CONVERT-ERROR-NO-CONVERSION:CAPS"></a><span class="term"><code class="literal">G_CONVERT_ERROR_NO_CONVERSION</code></span></p></td>
|
1088
|
+
<td>Conversion between the requested character sets
|
1089
|
+
is not supported.
|
1090
|
+
</td>
|
1091
|
+
</tr>
|
1092
|
+
<tr>
|
1093
|
+
<td><p><a name="G-CONVERT-ERROR-ILLEGAL-SEQUENCE:CAPS"></a><span class="term"><code class="literal">G_CONVERT_ERROR_ILLEGAL_SEQUENCE</code></span></p></td>
|
1094
|
+
<td>Invalid byte sequence in conversion input.
|
1095
|
+
</td>
|
1096
|
+
</tr>
|
1097
|
+
<tr>
|
1098
|
+
<td><p><a name="G-CONVERT-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">G_CONVERT_ERROR_FAILED</code></span></p></td>
|
1099
|
+
<td>Conversion failed for some reason.
|
1100
|
+
</td>
|
1101
|
+
</tr>
|
1102
|
+
<tr>
|
1103
|
+
<td><p><a name="G-CONVERT-ERROR-PARTIAL-INPUT:CAPS"></a><span class="term"><code class="literal">G_CONVERT_ERROR_PARTIAL_INPUT</code></span></p></td>
|
1104
|
+
<td>Partial character sequence at end of input.
|
1105
|
+
</td>
|
1106
|
+
</tr>
|
1107
|
+
<tr>
|
1108
|
+
<td><p><a name="G-CONVERT-ERROR-BAD-URI:CAPS"></a><span class="term"><code class="literal">G_CONVERT_ERROR_BAD_URI</code></span></p></td>
|
1109
|
+
<td>URI is invalid.
|
1110
|
+
</td>
|
1111
|
+
</tr>
|
1112
|
+
<tr>
|
1113
|
+
<td><p><a name="G-CONVERT-ERROR-NOT-ABSOLUTE-PATH:CAPS"></a><span class="term"><code class="literal">G_CONVERT_ERROR_NOT_ABSOLUTE_PATH</code></span></p></td>
|
1114
|
+
<td>Pathname is not an absolute path.
|
1115
|
+
</td>
|
1116
|
+
</tr>
|
1117
|
+
</tbody>
|
1118
|
+
</table></div>
|
1119
|
+
</div>
|
1120
|
+
<hr>
|
1121
|
+
<div class="refsect2" title="g_get_charset ()">
|
1122
|
+
<a name="g-get-charset"></a><h3>g_get_charset ()</h3>
|
1123
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_get_charset (<em class="parameter"><code>G_CONST_RETURN <span class="type">char</span> **charset</code></em>);</pre>
|
1124
|
+
<p>
|
1125
|
+
Obtains the character set for the <a class="link" href="glib-running.html#setlocale" title="Locale">current
|
1126
|
+
locale</a>; you might use this character set as an argument to
|
1127
|
+
<a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a>, to convert from the current locale's encoding to some
|
1128
|
+
other encoding. (Frequently <a class="link" href="glib-Character-Set-Conversion.html#g-locale-to-utf8" title="g_locale_to_utf8 ()"><code class="function">g_locale_to_utf8()</code></a> and <a class="link" href="glib-Character-Set-Conversion.html#g-locale-from-utf8" title="g_locale_from_utf8 ()"><code class="function">g_locale_from_utf8()</code></a>
|
1129
|
+
are nice shortcuts, though.)
|
1130
|
+
</p>
|
1131
|
+
<p>
|
1132
|
+
On Windows the character set returned by this function is the
|
1133
|
+
so-called system default ANSI code-page. That is the character set
|
1134
|
+
used by the "narrow" versions of C library and Win32 functions that
|
1135
|
+
handle file names. It might be different from the character set
|
1136
|
+
used by the C library's current locale.
|
1137
|
+
</p>
|
1138
|
+
<p>
|
1139
|
+
The return value is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the locale's encoding is UTF-8, in that
|
1140
|
+
case you can perhaps avoid calling <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a>.
|
1141
|
+
</p>
|
1142
|
+
<p>
|
1143
|
+
The string returned in <em class="parameter"><code>charset</code></em> is not allocated, and should not be
|
1144
|
+
freed.
|
1145
|
+
</p>
|
1146
|
+
<div class="variablelist"><table border="0">
|
1147
|
+
<col align="left" valign="top">
|
1148
|
+
<tbody>
|
1149
|
+
<tr>
|
1150
|
+
<td><p><span class="term"><em class="parameter"><code>charset</code></em> :</span></p></td>
|
1151
|
+
<td>return location for character set name
|
1152
|
+
</td>
|
1153
|
+
</tr>
|
1154
|
+
<tr>
|
1155
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1156
|
+
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the returned charset is UTF-8
|
1157
|
+
</td>
|
1158
|
+
</tr>
|
1159
|
+
</tbody>
|
1160
|
+
</table></div>
|
1161
|
+
</div>
|
1162
|
+
</div>
|
1163
|
+
<div class="footnotes">
|
1164
|
+
<br><hr width="100" align="left">
|
1165
|
+
<div class="footnote"><p><sup>[<a name="ftn.nul-unsafe" href="#nul-unsafe" class="para">1</a>] </sup>
|
1166
|
+
Note that some encodings may allow nul bytes to
|
1167
|
+
occur inside strings. In that case, using -1 for
|
1168
|
+
the <em class="parameter"><code>len</code></em> parameter is unsafe.
|
1169
|
+
</p></div>
|
1170
|
+
<div class="footnote"><p><sup>[<a name="ftn.streaming-state" href="#streaming-state" class="para">2</a>] </sup>
|
1171
|
+
Despite the fact that <em class="parameter"><code>byes_read</code></em> can return information about partial
|
1172
|
+
characters, the <code class="literal">g_convert_...</code> functions
|
1173
|
+
are not generally suitable for streaming. If the underlying converter
|
1174
|
+
being used maintains internal state, then this won't be preserved
|
1175
|
+
across successive calls to <a class="link" href="glib-Character-Set-Conversion.html#g-convert" title="g_convert ()"><code class="function">g_convert()</code></a>, <a class="link" href="glib-Character-Set-Conversion.html#g-convert-with-iconv" title="g_convert_with_iconv ()"><code class="function">g_convert_with_iconv()</code></a> or
|
1176
|
+
<a class="link" href="glib-Character-Set-Conversion.html#g-convert-with-fallback" title="g_convert_with_fallback ()"><code class="function">g_convert_with_fallback()</code></a>. (An example of this is the GNU C converter
|
1177
|
+
for CP1255 which does not emit a base character until it knows that
|
1178
|
+
the next character is not a mark that could combine with the base
|
1179
|
+
character.)
|
1180
|
+
</p></div>
|
1181
|
+
</div>
|
1182
|
+
</div>
|
1183
|
+
<div class="footer">
|
1184
|
+
<hr>
|
1185
|
+
Generated by GTK-Doc V1.14</div>
|
1186
|
+
</body>
|
1187
|
+
</html>
|