OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55626b7
)
gobex: Change UTF name to standard
author
Neal Peacock
<neal@coinfree.com>
Fri, 29 Jun 2012 22:15:57 +0000
(18:15 -0400)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:22:06 +0000
(22:22 +0100)
gobex/gobex-header.c
patch
|
blob
|
history
diff --git
a/gobex/gobex-header.c
b/gobex/gobex-header.c
index
77dcc6e
..
56dd9b2
100644
(file)
--- a/
gobex/gobex-header.c
+++ b/
gobex/gobex-header.c
@@
-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,
- "UTF
8", "UTF
16BE",
+ "UTF
-8", "UTF-
16BE",
NULL, &str_len, &conv_err);
if (header->v.string == NULL) {
g_set_error(err, G_OBEX_ERROR,