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 = | ...") |
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.