Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2008 10:45:42 -0500
From:      "Eric Mesa" <ericsbinaryworld@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How do I get unicode support in python?
Message-ID:  <582715960802090745y8a4eaewcac6e033f944a21@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Message: 12
> Date: Fri, 8 Feb 2008 16:06:50 +0100
> From: "Heiko Wundram (Beenic)" <wundram@beenic.net>
> Subject: Re: How do I get unicode support in python?
> 0: ordinal not in range(128)
> >>> print u"\xfa".encode("latin-1")
> =FA
> >>>
>
> HTH!
>
> --
> Heiko Wundram
> Product & Application Development
>
>
> ------------------------------
>
>
>
The .encode solution worked perfectly for me!  I am using it for the page
you get when you fill out the year here:
http://server.ericsbinaryworld.com/viet_zodiac_intro.html
(right now you have to switch to utf-8, I haven't set it to do that
automatically yet)

Thanks again!
--=20
Eric Mesa
http://www.ericsbinaryworld.com
http://server.ericsbinaryworld.com
"Do not worry about those things that are outside of your circle of
influence.  For since they are outside of your power to control them it is
simply a waste of time and energy to dwell on them.  Instead, turn your
attention to those things that you can control and grow your influence in
those areas and you will see the effects begin to trickle out to those item=
s
that were previously out of your power to influence." =96 Eric Mesa inspire=
d
by Covey's 7 Habits of Highly Effective People



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?582715960802090745y8a4eaewcac6e033f944a21>