Message: 12 > Date: Fri, 8 Feb 2008 16:06:50 +0100 > From: "Heiko Wundram (Beenic)" <[EMAIL PROTECTED]> > Subject: Re: How do I get unicode support in python? > 0: ordinal not in range(128) > >>> print u"\xfa".encode("latin-1") > ú > >>> > > 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! -- 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 items that were previously out of your power to influence." – Eric Mesa inspired by Covey's 7 Habits of Highly Effective People _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"