showname = xbmc.getInfoLabel("VideoPlayer.TvShowTitle")
showname = unicode(showname)

how did you try to use them?

Am 28.06.2011 09:37, schrieb Mathieu Feulvarch:
> Hello and thanks for answering my email
>
> I'm asking XBMC to give me the name of the file by using:
> showname = xbmc.getInfoLabel("VideoPlayer.TvShowTitle")
>
> and after I'm trying to use "showname" on a URL and it's when I have
> the problem
>
> Mathieu
>
> On Tue, Jun 28, 2011 at 3:31 PM, Christian Kölpin <[email protected]
> <mailto:[email protected]>> wrote:
>
>     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
>
>     > [email protected]
>     <mailto:[email protected]>
>
>     > https://lists.sourceforge.net/lists/listinfo/xbmc-addons
>
>
>

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to