From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] monitor-ofono: Fix to print non-English characters
Date: Fri, 27 Jul 2012 00:34:50 -0500 [thread overview]
Message-ID: <5012287A.4010109@gmail.com> (raw)
In-Reply-To: <1343318274-19845-1-git-send-email-philippe.nunes@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
Hi Philippe,
On 07/26/2012 10:57 AM, Philippe Nunes wrote:
> The default encoding for a Python bytestring is ASCII. But the
> SMS/USSD text is encoded in UTF-8.
> This is why trying to convert non-English characters (Unicode
> characters beyond 128) produces the error
> "UnicodeEncodeError: 'ascii' codec can't encode character".
> ---
> test/monitor-ofono | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
prev parent reply other threads:[~2012-07-27 5:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-26 15:57 [PATCH] monitor-ofono: Fix to print non-English characters Philippe Nunes
2012-07-26 15:57 ` [PATCH v2] test-ussd becomes send-ussd This script can be used to handle network initiated USSDs Philippe Nunes
2012-07-27 5:36 ` Denis Kenzior
2012-07-27 5:34 ` Denis Kenzior [this message]
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=5012287A.4010109@gmail.com \
--to=denkenz@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox