mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
docs: Clarify string encoding for GFile constructors
The encoding was deduced from looking at the source code, feel free to fix if it's wrong (the docs _and_ the source code).
This commit is contained in:
parent
0b74058fa3
commit
1254104cea
@ -5882,7 +5882,8 @@ g_file_real_copy_finish (GFile *file,
|
||||
|
||||
/**
|
||||
* g_file_new_for_path:
|
||||
* @path: a string containing a relative or absolute path.
|
||||
* @path: a string containing a relative or absolute path. The string
|
||||
* must be encoded in the glib filename encoding.
|
||||
*
|
||||
* Constructs a #GFile for a given path. This operation never
|
||||
* fails, but the returned object might not support any I/O
|
||||
@ -5900,7 +5901,7 @@ g_file_new_for_path (const char *path)
|
||||
|
||||
/**
|
||||
* g_file_new_for_uri:
|
||||
* @uri: a string containing a URI.
|
||||
* @uri: a UTF8 string containing a URI.
|
||||
*
|
||||
* Constructs a #GFile for a given URI. This operation never
|
||||
* fails, but the returned object might not support any I/O
|
||||
|
Loading…
x
Reference in New Issue
Block a user