Gchar
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) (Created page with "{{FormatInfo | name = gchar | formattype = electronic | subcat = Data types | subcat2 = GLib data types | subcat3 = | subcat4 = | ...") |
Dan Tobias (Talk | contribs) |
||
Line 3: | Line 3: | ||
| formattype = electronic | | formattype = electronic | ||
| subcat = Data types | | subcat = Data types | ||
− | | subcat2 = GLib data types | + | | subcat2 = GLib library data types |
| subcat3 = | | subcat3 = | ||
| subcat4 = | | subcat4 = |
Latest revision as of 14:17, 1 July 2019
gchar is exactly the same as the C language char data type; it is included in GLib for completeness, for people who want purist code that is done entirely with data types starting with "g". This consists of a single 8-bit byte intended for storing a character in an 8 bit or less encoding such as ASCII or ISO 8859-1. Other types such as gunichar are needed for storing Unicode characters which require more bits.