Re: [root button gnome org: Cron <root button> run-parts /etc/cron.daily]
- From: Tobias Mueller <muelli cryptobitch de>
- To: Olav Vitters <olav vitters nl>
- Cc: gnome-infrastructure gnome org
- Subject: Re: [root button gnome org: Cron <root@button> run-parts /etc/cron.daily]
- Date: Wed, 02 Feb 2011 19:11:08 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Heya,
I haven't had a look at the scripts, but maybe I can still contribute
something.
On 02.02.2011 15:29, Olav Vitters wrote:
> Problem is the handling of encoded data.
When you read() the data, immediately decode() it with the proper
encoding so that the data will become a Unicode object, i.e.
fileobject.read().decode('utf-8').
HTH,
Tobi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1JnjsACgkQnO4bawWbWY6eUwCgm3z4TOHcMqParKb0vzUAlOv+
mdEAoNTxyip7Hz01Q6JwnaL2dvdVoaaM
=rdCa
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]