function Convert_Error_Domain return GQuark;
procedure Convert
| ( | Str | : String; |
| To_Codeset | : String; | |
| From_Codeset | : String; | |
| Bytes_Read | : out Natural; | |
| Bytes_Written | : out Natural; | |
| Error | : GError_Access := null; | |
| Result | : out String); |
function Convert
| ( | Str | : String; |
| To_Codeset | : String; | |
| From_Codeset | : String; | |
| Error | : GError_Access := null) return String; |
procedure Convert
| ( | Str | : chars_ptr; |
| Len | : Natural; | |
| To_Codeset | : String; | |
| From_Codeset | : String; | |
| Bytes_Read | : out Natural; | |
| Bytes_Written | : out Natural; | |
| Error | : GError_Access := null; | |
| Result | : out String); |
function Convert
| ( | Str | : String; |
| To_Codeset | : String; | |
| From_Codeset | : String; | |
| Bytes_Read | : access Natural; | |
| Bytes_Written | : access Natural; | |
| Error | : GError_Access := null) return chars_ptr; |
function Convert
| ( | Str | : chars_ptr; |
| Len | : Natural; | |
| To_Codeset | : String; | |
| From_Codeset | : String; | |
| Bytes_Read | : access Natural; | |
| Bytes_Written | : access Natural; | |
| Error | : GError_Access := null) return chars_ptr; |
procedure Locale_To_UTF8
| ( | OS_String | : String; |
| Bytes_Read | : out Natural; | |
| Bytes_Written | : out Natural; | |
| Error | : GError_Access := null; | |
| Result | : out String); |
function Locale_To_UTF8
| ( | OS_String | : String; |
| Bytes_Read | : access Natural; | |
| Bytes_Written | : access Natural; | |
| Error | : GError_Access := null) return chars_ptr; |
procedure Locale_From_UTF8
| ( | UTF8_String | : String; |
| Bytes_Read | : out Natural; | |
| Bytes_Written | : out Natural; | |
| Error | : GError_Access := null; | |
| Result | : out String); |
function Locale_From_UTF8
| ( | UTF8_String | : String; |
| Bytes_Read | : access Natural; | |
| Bytes_Written | : access Natural; | |
| Error | : GError_Access := null) return chars_ptr; |
function Filename_To_UTF8
| ( | OS_String | : String; |
| Error | : GError_Access := null) return String; |
function Filename_From_UTF8
| ( | UTF8_String | : String; |
| Error | : GError_Access := null) return String; |
function Filename_From_URI
| ( | URI | : String; |
| Hostname | : access chars_ptr; | |
| Error | : GError_Access := null) return String; |
function Filename_To_URI
| ( | Filename | : String; |
| Hostname | : String := ""; | |
| Error | : GError_Access := null) return String; |
This package provides definitions for string conversions and i18n.
See also Glib.Unicode.
Binding from C File version 1.3.11