Õ
é
—
–
’
…
So Characters like these show up in my database some way some how. If I pull a record that contains one of these chars and then try and process it, Python blows up. I try doing u"%s" % variable and it still blows up. I have just decided to clean these things out, however, the e w/ the accent is very prominent for Decor of Home Decor considering I work w/ craft websites. I just can't believe Python doesn't have a way to handle this sort of thing. Could someone point me in the direction of some documentation?
You can't replace them because having the char in a python scripts makes things blow up. There has to be something out there that you can do to a string variable that will force Python to accept and process these types of chars. It is hard for me to find documentation cause I am not so keen on char coding. Don't really know what I am looking for, I know I have tried googling the errors these rise in the past, but I never really found an answer.
This post has been edited by supersssweety: 27 May 2010 - 02:17 PM

New Topic/Question
Reply



MultiQuote








|