Re: Conditional for...in failing with utf-8, Spanish book translation

2008-04-21 Thread Stefan Behnel
Hunter wrote: > I've narrowed the problem down to a simple test program. Check this out: > > --- > > # -*- coding: utf-8 -*- > > acceptable = "abcdefghijklmnopqrstuvwxyzóíñú" # this line will work > acceptable = "abcdefghijklmnopqrstuvwxyzóíñúá" # this line won't [bad words stripped] this shou

Re: Conditional for...in failing with utf-8, Spanish book translation

2008-04-20 Thread Marc 'BlackJack' Rintsch
On Mon, 21 Apr 2008 08:33:47 +0200, Hunter wrote: > I've narrowed the problem down to a simple test program. Check this out: > > --- > > # -*- coding: utf-8 -*- > > acceptable = "abcdefghijklmnopqrstuvwxyzóíñú" # this line will work > acceptable = "abcdefghijklmnopqrstuvwxyzóíñúá" # this line w

Conditional for...in failing with utf-8, Spanish book translation

2008-04-20 Thread Hunter
Hi all, This is my first Usenet post! I've run into a wall with my first Python program. I'm writing some simple code to take a text file that's utf-8 and in Spanish and to use online translation tools to convert it, word-by-word, into English. Then I'm generating a PDF with both of the languag