From: Aki Niemi <aki@protocolpolice.com>
To: ofono@ofono.org
Subject: Re: [PATCH] Add USC-2 to UTF-8 conversion utility function.
Date: Mon, 06 Jul 2009 09:51:02 +0300 [thread overview]
Message-ID: <cf7c4201a49ed38c71aa45b007dd821b@localhost> (raw)
In-Reply-To: <1246763625-17183-1-git-send-email-andrew.zaborowski@intel.com>
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
On Sun, 5 Jul 2009 05:13:45 +0200, Andrzej Zaborowski
<andrew.zaborowski@intel.com> wrote:
> +
> + ret = g_utf16_to_utf8((const gunichar2 *) buffer, i / 2,
> + NULL, items_written, &error);
Why not use iconv() with UCS-2BE to UTF-8?
Cheers,
Aki
next prev parent reply other threads:[~2009-07-06 6:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-05 3:13 [PATCH] Add USC-2 to UTF-8 conversion utility function Andrzej Zaborowski
2009-07-06 6:51 ` Aki Niemi [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-06 16:26 Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cf7c4201a49ed38c71aa45b007dd821b@localhost \
--to=aki@protocolpolice.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.