Depends on the source encoding. Normaly the following should be enough

stringVariable = unicode(sourceString,'UTF-8') # if the source is UTF8
encoded
Am 22.06.2011 09:44, schrieb Mathieu Feulvarch:
> Hello the list,
>
> I have a question and I hope I can ask it here: I'm new to Python
> and I wrote the Gomiso plugin.
> I have a question related to encoding because I'm facing it with a
> German user: how do script and program developers deal with non
> ascii encoding when retrieving the video name and send it to an API
> through a url call?
>
> Thanks,
> Mathieu
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
>
>
> _______________________________________________
> Xbmc-addons mailing list
> Xbmc-addons@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xbmc-addons