Re: UTF8 to UTF-8 name patch for obexd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Neal,

On Fri, Jun 29, 2012, Neal Peacock wrote:
> Subject: [PATCH] Changed UTF name to standard
> 
> ---
>  gobex/gobex-header.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/gobex/gobex-header.c b/gobex/gobex-header.c
> index 77dcc6e..56dd9b2 100644
> --- 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,
> -						"UTF8", "UTF16BE",
> +						"UTF-8", "UTF-16BE",
>  						NULL, &str_len, &conv_err);
>  		if (header->v.string == NULL) {
>  			g_set_error(err, G_OBEX_ERROR,

The patch looks good and has been applied to obexd.git. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux