mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 16:54:38 +08:00
gobex: Change UTF name to standard
This commit is contained in:
parent
55626b774e
commit
a3bb0a6dc5
@ -187,7 +187,7 @@ GObexHeader *g_obex_header_decode(const void *data, gsize len,
|
||||
}
|
||||
|
||||
header->v.string = g_convert((const char *) ptr, hdr_len - 5,
|
||||
"UTF8", "UTF16BE",
|
||||
"UTF-8", "UTF-16BE",
|
||||
NULL, &str_len, &conv_err);
|
||||
if (header->v.string == NULL) {
|
||||
g_set_error(err, G_OBEX_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user